diff options
Diffstat (limited to 'src/test/mir-opt/const_prop/ref_deref.rs')
-rw-r--r-- | src/test/mir-opt/const_prop/ref_deref.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/mir-opt/const_prop/ref_deref.rs b/src/test/mir-opt/const_prop/ref_deref.rs new file mode 100644 index 000000000..30ec97663 --- /dev/null +++ b/src/test/mir-opt/const_prop/ref_deref.rs @@ -0,0 +1,6 @@ +// EMIT_MIR ref_deref.main.PromoteTemps.diff +// EMIT_MIR ref_deref.main.ConstProp.diff + +fn main() { + *(&4); +} |