summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-14500/foo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/issue-14500/foo.rs')
-rw-r--r--tests/run-make/issue-14500/foo.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/issue-14500/foo.rs b/tests/run-make/issue-14500/foo.rs
new file mode 100644
index 000000000..7c19c1f2c
--- /dev/null
+++ b/tests/run-make/issue-14500/foo.rs
@@ -0,0 +1,5 @@
+#[no_mangle]
+pub extern "C" fn foo() {}
+
+#[no_mangle]
+pub static FOO_STATIC: u8 = 0;