✓
Passing This code compiles and runs correctly.
Code
// Test 603: Inline Annotation Syntax
// Tests that ~[a|b|c] produces annotations: ["a", "b", "c"]
const std = @import("std");
// Single annotation
~[comptime] tor single {}
// Multiple annotations with | delimiter
~[comptime|runtime] tor dual {}
// Many annotations
~[comptime|runtime|fuseable|inline] tor many {}
// Parameterized annotation (opaque string)
~[optimize(level: 3)] tor optimized {}
// Mix of simple and parameterized
~[comptime|optimize(level: 3)|inline] tor mixed {}
~proc single|zig { return .{ .done = .{} }; }
~proc dual|zig { return .{ .done = .{} }; }
~proc many|zig { return .{ .done = .{} }; }
~proc optimized|zig { return .{ .done = .{} }; }
~proc mixed|zig { return .{ .done = .{} }; }