aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c')
-rw-r--r--meson/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/meson/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c b/meson/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c
new file mode 100644
index 000000000..bd5316db9
--- /dev/null
+++ b/meson/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c
@@ -0,0 +1,27 @@
+#ifdef PROJECT_OPTION
+#error
+#endif
+
+#ifdef PROJECT_OPTION_1
+#error
+#endif
+
+#ifdef PROJECT_OPTION_C_CPP
+#error
+#endif
+
+#ifndef GLOBAL_ARGUMENT
+#error
+#endif
+
+#ifndef SUBPROJECT_OPTION
+#error
+#endif
+
+#ifdef OPTION_CPP
+#error
+#endif
+
+int main(void) {
+ return 0;
+}