summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-43162.rs
blob: 782eb42293a07a6ec831545701d7de33cbd68e6a (plain)
1
2
3
4
5
6
7
8
fn foo() -> bool {
    //~^ ERROR E0308
    break true; //~ ERROR E0268
}

fn main() {
    break {}; //~ ERROR E0268
}