3 #![allow(unused_must_use)]
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;
10 // The following is invalid and parses as `if true { 1 } else { 2 }; *3`
11 // if true { 1 } else { 2 } * 3