summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CompilerArgs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CompilerArgs/main.c')
-rw-r--r--Tests/RunCMake/CompilerArgs/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerArgs/main.c b/Tests/RunCMake/CompilerArgs/main.c
new file mode 100644
index 0000000000..b526135314
--- /dev/null
+++ b/Tests/RunCMake/CompilerArgs/main.c
@@ -0,0 +1,10 @@
+#ifndef FOO1
+# error Missing FOO1
+#endif
+#ifndef FOO2
+# error Missing FOO2
+#endif
+int main(void)
+{
+ return 0;
+}