summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-64153/downstream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/issue-64153/downstream.rs')
-rw-r--r--tests/run-make/issue-64153/downstream.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/issue-64153/downstream.rs b/tests/run-make/issue-64153/downstream.rs
new file mode 100644
index 000000000..e03704665
--- /dev/null
+++ b/tests/run-make/issue-64153/downstream.rs
@@ -0,0 +1,6 @@
+extern crate upstream;
+
+#[no_mangle]
+pub extern "C" fn foo() {
+ print!("1 + 1 = {}", upstream::issue64153_test_function(1));
+}