rust/src/test/ui/issues/issue-28109.rs
2018-12-25 21:08:33 -07:00

13 lines
241 B
Rust

// Make sure that label for continue and break is spanned correctly
fn main() {
loop {
continue
'b //~ ERROR use of undeclared label
;
break
'c //~ ERROR use of undeclared label
;
}
}