1 // run-pass 2 3 #![allow(unused_must_use)] 4 main()5pub fn main() { 6 // Test that lambdas behave as unary expressions with block-like expressions 7 -if true { 1 } else { 2 } * 3; 8 || if true { 1 } else { 2 } * 3; 9 10 // The following is invalid and parses as `if true { 1 } else { 2 }; *3` 11 // if true { 1 } else { 2 } * 3 12 } 13