os-rust/src/test/mir-opt/derefer_terminator_test.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
233 B
Rust
Raw Normal View History

// EMIT_MIR derefer_terminator_test.main.Derefer.diff
fn main() {
let b = foo();
let d = foo();
match ****(&&&&b) {
true => {let x = 5;},
false => {}
}
let y = 42;
}
fn foo() -> bool {
true
}