blob: 9e7c73404487ab939712dd9ea93cace62a006c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#[inline(never)]
fn foo(_: i32) { }
// EMIT_MIR switch_int.main.ConstProp.diff
// EMIT_MIR switch_int.main.SimplifyBranches-after-const-prop.diff
fn main() {
match 1 {
1 => foo(0),
_ => foo(-1),
}
}
|