1 // run-pass 2 incr(x: &mut isize) -> bool3fn incr(x: &mut isize) -> bool { *x += 1; assert!((false)); return false; } 4 main()5pub fn main() { 6 let x = 1 == 2 || 3 == 3; 7 assert!((x)); 8 let mut y: isize = 10; 9 println!("{}", x || incr(&mut y)); 10 assert_eq!(y, 10); 11 if true && x { assert!((true)); } else { assert!((false)); } 12 } 13