zig/test/cases/unused_labels.3.zig

11 lines
144 B
Zig
Raw Normal View History

comptime {
blk: {
blk: {}
}
}
// error
//
// :2:11: error: redefinition of label 'blk'
// :2:5: note: previous definition here