rust/tests/mir-opt/simplify_match.rs
2023-01-11 09:32:08 +00:00

11 lines
176 B
Rust

#[inline(never)]
fn noop() {}
// EMIT_MIR simplify_match.main.ConstProp.diff
fn main() {
match { let x = false; x } {
true => noop(),
false => {},
}
}