blob: 8e8bb8800ec0d7524e8f68aed2dca9ceadaae557 [file] [log] [blame]
// run-pass
pub fn main() {
let x = true;
if x { let mut i = 10; while i > 0 { i -= 1; } }
match x { true => { println!("right"); } false => { println!("wrong"); } }
}