summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/dataflow-const-prop/struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/dataflow-const-prop/struct.rs')
-rw-r--r--src/test/mir-opt/dataflow-const-prop/struct.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/mir-opt/dataflow-const-prop/struct.rs b/src/test/mir-opt/dataflow-const-prop/struct.rs
deleted file mode 100644
index 841b279e0..000000000
--- a/src/test/mir-opt/dataflow-const-prop/struct.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// unit-test: DataflowConstProp
-
-struct S(i32);
-
-// EMIT_MIR struct.main.DataflowConstProp.diff
-fn main() {
- let mut s = S(1);
- let a = s.0 + 2;
- s.0 = 3;
- let b = a + s.0;
-}