2019-09-14 23:05:19 -05:00
|
|
|
// compile-flags: -O
|
|
|
|
|
2020-04-04 15:25:54 -05:00
|
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
2020-04-04 12:15:01 -05:00
|
|
|
// EMIT_MIR rustc.main.ConstProp.diff
|
2019-09-14 23:05:19 -05:00
|
|
|
fn main() {
|
|
|
|
let x = (if let Some(true) = Some(true) { 42 } else { 10 }) + 0;
|
|
|
|
}
|