rust/tests/ui/label/label-underscore.rs
2023-01-11 09:32:08 +00:00

6 lines
120 B
Rust

fn main() {
'_: loop { //~ ERROR invalid label name `'_`
break '_ //~ ERROR invalid label name `'_`
}
}