summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-28109.rs
blob: 755a539b5003ea020d2f1215484f4b072ac4b3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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
        ;
    }
}