1 #![deny(unreachable_code)]
2 #![allow(unused_variables)]
3 
main()4 fn main() {
5   loop{}
6 
7   let a = 3; //~ ERROR: unreachable statement
8 }
9