summaryrefslogtreecommitdiffstats
path: root/tests/run-make/mingw-export-call-convention/foo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/mingw-export-call-convention/foo.rs')
-rw-r--r--tests/run-make/mingw-export-call-convention/foo.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-make/mingw-export-call-convention/foo.rs b/tests/run-make/mingw-export-call-convention/foo.rs
new file mode 100644
index 000000000..1fec00311
--- /dev/null
+++ b/tests/run-make/mingw-export-call-convention/foo.rs
@@ -0,0 +1,4 @@
+#![crate_type = "cdylib"]
+
+#[no_mangle]
+pub extern "system" fn bar() {}