summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/const_prop/control_flow_simplification.hello.PreCodegen.before.mir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/const_prop/control_flow_simplification.hello.PreCodegen.before.mir')
-rw-r--r--tests/mir-opt/const_prop/control_flow_simplification.hello.PreCodegen.before.mir9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/mir-opt/const_prop/control_flow_simplification.hello.PreCodegen.before.mir b/tests/mir-opt/const_prop/control_flow_simplification.hello.PreCodegen.before.mir
new file mode 100644
index 000000000..9f7528f0c
--- /dev/null
+++ b/tests/mir-opt/const_prop/control_flow_simplification.hello.PreCodegen.before.mir
@@ -0,0 +1,9 @@
+// MIR for `hello` before PreCodegen
+
+fn hello() -> () {
+ let mut _0: (); // return place in scope 0 at $DIR/control_flow_simplification.rs:+0:14: +0:14
+
+ bb0: {
+ return; // scope 0 at $DIR/control_flow_simplification.rs:+4:2: +4:2
+ }
+}