summaryrefslogtreecommitdiffstats
path: root/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c')
-rw-r--r--test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c b/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c
new file mode 100644
index 0000000..bd5316d
--- /dev/null
+++ b/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;
+}