]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/simplify_match.rs
Rollup merge of #104269 - compiler-errors:hang-in-where-clause-sugg, r=lcnr
[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 }