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