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

6 lines
140 B
Rust

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