2023-10-16 17:36:39 +00:00
|
|
|
// skip-filecheck
|
2023-06-08 09:18:34 +02:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2020-04-02 21:09:01 +00:00
|
|
|
#[inline(never)]
|
|
|
|
fn noop() {}
|
|
|
|
|
2023-09-20 21:43:33 +00:00
|
|
|
// EMIT_MIR simplify_match.main.GVN.diff
|
2019-03-19 12:38:18 +01:00
|
|
|
fn main() {
|
2024-06-03 10:18:33 +10:00
|
|
|
match {
|
|
|
|
let x = false;
|
|
|
|
x
|
|
|
|
} {
|
2020-04-02 21:09:01 +00:00
|
|
|
true => noop(),
|
2024-06-03 10:18:33 +10:00
|
|
|
false => {}
|
2019-03-19 12:38:18 +01:00
|
|
|
}
|
|
|
|
}
|