]> git.lizzy.rs Git - rust.git/blob - src/test/ui/panics/while-body-panics.rs
Rollup merge of #89235 - yaahc:junit-formatting, r=kennytm
[rust.git] / src / test / ui / panics / while-body-panics.rs
1 #![allow(while_true)]
2
3 // run-fail
4 // error-pattern:quux
5 // ignore-emscripten no processes
6
7 fn main() {
8     let _x: isize = {
9         while true {
10             panic!("quux");
11         }
12         8
13     };
14 }