zig/test/cases/compile_errors/volatile_on_global_assembly.zig
2022-06-30 09:57:38 +02:00

10 lines
143 B
Zig

comptime {
asm volatile ("");
}
// error
// backend=stage2
// target=native
//
// :2:9: error: volatile is meaningless on global assembly