aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/233 wrap case/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/233 wrap case/prog.c')
-rw-r--r--meson/test cases/common/233 wrap case/prog.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/common/233 wrap case/prog.c b/meson/test cases/common/233 wrap case/prog.c
new file mode 100644
index 000000000..5183deabd
--- /dev/null
+++ b/meson/test cases/common/233 wrap case/prog.c
@@ -0,0 +1,13 @@
+#include<up_down.h>
+#include<stdio.h>
+
+int main(int argc, char **argv) {
+ if(argc == 42) {
+ printf("Very sneaky, %s\n", argv[0]);
+ }
+#ifdef UP_IS_DOWN
+ return 0;
+#else
+ return 1;
+#endif
+}