summaryrefslogtreecommitdiffstats
path: root/test cases/common/115 subproject project arguments/exe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/115 subproject project arguments/exe.cpp')
-rw-r--r--test cases/common/115 subproject project arguments/exe.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/test cases/common/115 subproject project arguments/exe.cpp b/test cases/common/115 subproject project arguments/exe.cpp
new file mode 100644
index 0000000..a8f5dff
--- /dev/null
+++ b/test cases/common/115 subproject project arguments/exe.cpp
@@ -0,0 +1,27 @@
+#ifdef PROJECT_OPTION
+#error
+#endif
+
+#ifdef PROJECT_OPTION_1
+#error
+#endif
+
+#ifdef GLOBAL_ARGUMENT
+#error
+#endif
+
+#ifdef SUBPROJECT_OPTION
+#error
+#endif
+
+#ifndef PROJECT_OPTION_CPP
+#error
+#endif
+
+#ifndef PROJECT_OPTION_C_CPP
+#error
+#endif
+
+int main(void) {
+ return 0;
+}