summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/issue-85401-static-mir/bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make/issue-85401-static-mir/bar.rs')
-rw-r--r--src/test/run-make/issue-85401-static-mir/bar.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-make/issue-85401-static-mir/bar.rs b/src/test/run-make/issue-85401-static-mir/bar.rs
new file mode 100644
index 000000000..15b12ecf3
--- /dev/null
+++ b/src/test/run-make/issue-85401-static-mir/bar.rs
@@ -0,0 +1,4 @@
+pub fn bar() {
+ println!("bar {}", foo::FOO);
+ foo::foo();
+}