]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/simplify_match.rs
Rollup merge of #99864 - klensy:bootstrap-art-dupe, r=jyn514
[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 }