]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/simplify_match.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / mir-opt / simplify_match.rs
1 #[inline(never)]
2 fn noop() {}
3
4 // EMIT_MIR simplify_match.main.ConstProp.diff
5 fn main() {
6     match { let x = false; x } {
7         true => noop(),
8         false => {},
9     }
10 }