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

16 lines
232 B
Zig

const S = struct {
comptime {
asm volatile (
\\zig_moment:
\\syscall
);
}
};
pub fn main() void {
_ = S;
}
// error
//
// :3:13: error: volatile is meaningless on global assembly