rust/tests/ui/label/label-underscore.rs

6 lines
120 B
Rust

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