zig/test/incremental/x86_64-linux/inline_assembly.3.zig
Jakub Konka 8d5acf7693 test: recursively walk dir with tests
Prune incremental tests by moving non-incremental behavior tests to
behavior test suite instead.
2022-04-28 18:35:01 +02:00

13 lines
198 B
Zig

pub fn main() void {}
comptime {
asm (""
:
: [bruh] "{rax}" (4)
: "memory"
);
}
// error
//
// :3:5: error: global assembly cannot have inputs, outputs, or clobbers