about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorsinkuu <sinkuu@sinkuu.xyz>2017-11-06 12:35:43 +0900
committerShotaro Yamada <sinkuu@sinkuu.xyz>2017-11-10 21:02:43 +0900
commit114252410d72b63bda4eefa62df77727d1f1cc41 (patch)
tree2b1428749a73b8281597926ece9b304d1dba5ae9 /src/test
parentae5553d7b04d8ece340756f378b82d5e0bbb0ea2 (diff)
Separately eliminate self-assignments
Diffstat (limited to 'src/test')
-rw-r--r--src/test/mir-opt/copy_propagation_arg.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/mir-opt/copy_propagation_arg.rs b/src/test/mir-opt/copy_propagation_arg.rs
index 8303407d2e2..ae30b5fae88 100644
--- a/src/test/mir-opt/copy_propagation_arg.rs
+++ b/src/test/mir-opt/copy_propagation_arg.rs
@@ -34,6 +34,7 @@ fn main() {
     // Make sure the function actually gets instantiated.
     foo(0);
     bar(0);
+    baz(0);
 }
 
 // END RUST SOURCE
@@ -112,4 +113,4 @@ fn main() {
 //     _0 = ();
 //     return;
 // }
-// END rustc.baz.CopyPropagation.after.mir
\ No newline at end of file
+// END rustc.baz.CopyPropagation.after.mir