]> git.proxmox.com Git - rustc.git/blob - tests/mir-opt/simplify_match.rs
New upstream version 1.72.1+dfsg1
[rustc.git] / tests / mir-opt / simplify_match.rs
1 // EMIT_MIR_FOR_EACH_PANIC_STRATEGY
2 #[inline(never)]
3 fn noop() {}
4
5 // EMIT_MIR simplify_match.main.ConstProp.diff
6 fn main() {
7 match { let x = false; x } {
8 true => noop(),
9 false => {},
10 }
11 }