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