4 let x
= if false { panic!() }
else { 10 }
;
9 let x
= if true { 10 }
else { panic!() }
;
13 fn test_elseif_panic() {
14 let x
= if false { 0 }
else if false { panic!() }
else { 10 }
;
18 pub fn main() { test_if_panic(); test_else_panic(); test_elseif_panic(); }