zig/test/cases/unused_labels.1.zig

8 lines
91 B
Zig
Raw Normal View History

comptime {
foo: while (true) {}
}
// error
//
// :2:5: error: unused while loop label