summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/graphviz.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/graphviz.rs')
-rw-r--r--tests/mir-opt/graphviz.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mir-opt/graphviz.rs b/tests/mir-opt/graphviz.rs
new file mode 100644
index 000000000..6906b86c2
--- /dev/null
+++ b/tests/mir-opt/graphviz.rs
@@ -0,0 +1,5 @@
+// Test graphviz output
+// compile-flags: -Z dump-mir-graphviz
+
+// EMIT_MIR graphviz.main.built.after.dot
+fn main() {}