2020-06-25 17:43:48 -07:00
|
|
|
// run-pass
|
|
|
|
|
2019-04-28 23:12:35 +03:00
|
|
|
// 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.
|
|
|
|
|
2020-06-25 17:43:48 -07:00
|
|
|
#[allow(unreachable_code)]
|
|
|
|
const _: () = 'a: while break 'a {};
|
2019-04-28 23:12:35 +03:00
|
|
|
|
2019-06-20 10:35:27 +02:00
|
|
|
fn main() {}
|