zig/test/cases/compile_errors/volatile_on_global_assembly.zig

10 lines
143 B
Zig
Raw Normal View History

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