]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/simplify_locals_fixedpoint.rs
Auto merge of #107644 - Zoxc:query-cache-tweak, r=cjgillot
[rust.git] / tests / mir-opt / simplify_locals_fixedpoint.rs
1 // compile-flags: -Zmir-opt-level=1
2
3 fn foo<T>() {
4     if let (Some(a), None) = (Option::<u8>::None, Option::<T>::None) {
5         if a > 42u8 {
6
7         }
8     }
9 }
10
11 fn main() {
12     foo::<()>();
13 }
14
15 // EMIT_MIR simplify_locals_fixedpoint.foo.SimplifyLocals-final.diff