]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/simplify_match.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / 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 }