]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/derefer_terminator_test.rs
Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplett
[rust.git] / src / test / mir-opt / derefer_terminator_test.rs
1 // EMIT_MIR derefer_terminator_test.main.Derefer.diff
2 fn main() {
3     let b = foo();
4     let d = foo();
5     match ****(&&&&b) {
6         true => {let x = 5;},
7         false => {}
8     }
9     let y = 42;
10 }
11
12 fn foo() -> bool {
13     true
14 }