2015-09-02 22:35:04 +03:00
|
|
|
// Make sure that label for continue and break is spanned correctly
|
|
|
|
|
|
|
|
fn main() {
|
2015-12-11 20:59:11 +13:00
|
|
|
loop {
|
|
|
|
continue
|
|
|
|
'b //~ ERROR use of undeclared label
|
|
|
|
;
|
|
|
|
break
|
|
|
|
'c //~ ERROR use of undeclared label
|
|
|
|
;
|
|
|
|
}
|
2015-09-02 22:35:04 +03:00
|
|
|
}
|