]>
Commit | Line | Data |
---|---|---|
f035d41b XL |
1 | // run-pass |
2 | ||
48663c56 XL |
3 | // Using labeled break in a while loop has caused an illegal instruction being |
4 | // generated, and an ICE later. | |
5 | // | |
6 | // See https://github.com/rust-lang/rust/issues/51350 for more information. | |
7 | ||
f035d41b XL |
8 | #[allow(unreachable_code)] |
9 | const _: () = 'a: while break 'a {}; | |
48663c56 | 10 | |
416331ca | 11 | fn main() {} |