blob: 6864f7247ad5f4e35840b29b37fd0290b2572255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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() {}
|