aboutsummaryrefslogtreecommitdiff
path: root/test cases/osx
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2019-11-29 04:12:52 +0100
committerDylan Baker <dylan@pnwbakers.com>2019-11-29 08:11:06 -0800
commitcc803072e07f58669d3a9135257a1cf6dc8d313e (patch)
tree16f8e91e2a7b6308c23687ab8047dd2e3e7d9673 /test cases/osx
parent2c4a08ee56b77b14a33b7959a5b3ae02a40057cf (diff)
downloadmeson-cc803072e07f58669d3a9135257a1cf6dc8d313e.zip
meson-cc803072e07f58669d3a9135257a1cf6dc8d313e.tar.gz
meson-cc803072e07f58669d3a9135257a1cf6dc8d313e.tar.bz2
tests: add osx test case for PIE builds.
Diffstat (limited to 'test cases/osx')
-rw-r--r--test cases/osx/8 pie/main.c5
-rw-r--r--test cases/osx/8 pie/meson.build3
2 files changed, 8 insertions, 0 deletions
diff --git a/test cases/osx/8 pie/main.c b/test cases/osx/8 pie/main.c
new file mode 100644
index 0000000..2417ad8
--- /dev/null
+++ b/test cases/osx/8 pie/main.c
@@ -0,0 +1,5 @@
+#include <CoreFoundation/CoreFoundation.h>
+
+int main(int argc, char **argv) {
+ return 0;
+}
diff --git a/test cases/osx/8 pie/meson.build b/test cases/osx/8 pie/meson.build
new file mode 100644
index 0000000..e4d66ed
--- /dev/null
+++ b/test cases/osx/8 pie/meson.build
@@ -0,0 +1,3 @@
+project('osx pie', 'c')
+e = executable('prog', 'main.c', pie : true)
+test('pie', e)