]> git.lizzy.rs Git - rust.git/blob - src/test/ui/panics/while-body-panics.rs
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[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 }