2023-04-05 03:44:20 -05:00
|
|
|
// ignore-wasm32 compiled with panic=abort by default
|
2020-04-02 16:09:01 -05:00
|
|
|
#[inline(never)]
|
|
|
|
fn noop() {}
|
|
|
|
|
2020-07-27 14:22:43 -05:00
|
|
|
// EMIT_MIR simplify_match.main.ConstProp.diff
|
2019-03-19 06:38:18 -05:00
|
|
|
fn main() {
|
|
|
|
match { let x = false; x } {
|
2020-04-02 16:09:01 -05:00
|
|
|
true => noop(),
|
2019-03-19 06:38:18 -05:00
|
|
|
false => {},
|
|
|
|
}
|
|
|
|
}
|