mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
10 lines
193 B
Rust
10 lines
193 B
Rust
//@ test-mir-pass: GVN
|
|
|
|
// EMIT_MIR ref_deref.main.GVN.diff
|
|
fn main() {
|
|
// CHECK-LABEL: fn main(
|
|
// CHECK: debug a => [[a:_.*]];
|
|
// CHECK: [[a]] = const 4_i32;
|
|
let a = *(&4);
|
|
}
|