mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
11 lines
283 B
Rust
11 lines
283 B
Rust
//@ 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() {}
|