1 #![allow(unused_variables)]
2 #![allow(unused_assignments)]
4 #![deny(unreachable_code)]
8 //~^ ERROR unreachable block in `if`
9 println!("Hello, world!");
17 println!("I am not dead.");
21 // Here, we cite the `while` loop as dead.
23 //~^ ERROR unreachable block in `if`
24 println!("I am dead.");
26 println!("I am, too.");