summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/const_prop/mutable_variable_aggregate_partial_read.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/const_prop/mutable_variable_aggregate_partial_read.rs')
-rw-r--r--src/test/mir-opt/const_prop/mutable_variable_aggregate_partial_read.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/mir-opt/const_prop/mutable_variable_aggregate_partial_read.rs b/src/test/mir-opt/const_prop/mutable_variable_aggregate_partial_read.rs
deleted file mode 100644
index cb59509ff..000000000
--- a/src/test/mir-opt/const_prop/mutable_variable_aggregate_partial_read.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// unit-test
-// compile-flags: -O
-
-// EMIT_MIR mutable_variable_aggregate_partial_read.main.ConstProp.diff
-fn main() {
- let mut x: (i32, i32) = foo();
- x.1 = 99;
- x.0 = 42;
- let y = x.1;
-}
-
-#[inline(never)]
-fn foo() -> (i32, i32) {
- unimplemented!()
-}