summaryrefslogtreecommitdiffstats
path: root/tests/run-make/extern-fn-mangle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/extern-fn-mangle/Makefile')
-rw-r--r--tests/run-make/extern-fn-mangle/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/extern-fn-mangle/Makefile b/tests/run-make/extern-fn-mangle/Makefile
new file mode 100644
index 000000000..3cbbf3839
--- /dev/null
+++ b/tests/run-make/extern-fn-mangle/Makefile
@@ -0,0 +1,6 @@
+# ignore-cross-compile
+include ../tools.mk
+
+all: $(call NATIVE_STATICLIB,test)
+ $(RUSTC) test.rs
+ $(call RUN,test) || exit 1