summaryrefslogtreecommitdiffstats
path: root/tests/ui/label/label-static.rs
blob: 95e764d01870abcffde20ad86cab4407d2e8298d (plain)
1
2
3
4
5
fn main() {
    'static: loop { //~ ERROR invalid label name `'static`
        break 'static //~ ERROR invalid label name `'static`
    }
}