about summary refs log tree commit diff
path: root/tests/ui/label/label-underscore.rs
blob: 8f1f90fe7c02f078d7fe6b82578cf75d437a9af7 (plain)
1
2
3
4
5
fn main() {
    '_: loop { //~ ERROR labels cannot use keyword names
        break '_ //~ ERROR labels cannot use keyword names
    }
}