zig/test/incremental/x86_64-linux/inline_assembly.0.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

17 lines
343 B
Zig

pub fn main() void {
const number = 1234;
const x = asm volatile ("syscall"
: [o] "{rax}" (-> number),
: [number] "{rax}" (231),
[arg1] "{rdi}" (60),
: "rcx", "r11", "memory"
);
_ = x;
}
// error
// output_mode=Exe
// target=x86_64-linux
//
// :4:27: error: expected type, found comptime_int