1 2 3 4 5 6 7 8 9 10 11
// unit-test InstSimplify // EMIT_MIR equal_true.opt.InstSimplify.diff fn opt(x: bool) -> i32 { if x == true { 0 } else { 1 } } fn main() { opt(true); }