blob: 16444dfefe2b0c9370bffda39afa2295a30bc88b [file] [log] [blame]
//@ run-pass
// Using labeled break in a while loop has caused an illegal instruction being
// generated, and an ICE later.
//
// See https://github.com/rust-lang/rust/issues/51350 for more information.
#[allow(unreachable_code)]
const _: () = 'a: while break 'a {};
fn main() {}