]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/derefer_terminator_test.rs
Rollup merge of #98383 - m-ou-se:remove-memory-order-restrictions, r=joshtriplett
[rust.git] / src / test / mir-opt / derefer_terminator_test.rs
1 // EMIT_MIR derefer_terminator_test.main.Derefer.diff
2 // ignore-wasm32
3
4 fn main() {
5     let b = foo();
6     let d = foo();
7     match ****(&&&&b) {
8         true => {let x = 5;},
9         false => {}
10     }
11     let y = 42;
12 }
13
14 fn foo() -> bool {
15     true
16 }