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