summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerArgs/main.c
diff options
context:
space:
mode:
authorFred Baksik <fdk17@ftml.net>2020-07-20 13:45:32 (GMT)
committerFred Baksik <fdk17@ftml.net>2020-08-03 16:34:46 (GMT)
commitf76c20da6395c0830ac0de667c105b0b29f84c7a (patch)
treeae9a5656234fcd9a07f0c47aaa94ec4dac05340c /Tests/RunCMake/CompilerArgs/main.c
parentdb486da2655c49ac9f6d770fd7d4475aa5354b9f (diff)
downloadCMake-f76c20da6395c0830ac0de667c105b0b29f84c7a.zip
CMake-f76c20da6395c0830ac0de667c105b0b29f84c7a.tar.gz
CMake-f76c20da6395c0830ac0de667c105b0b29f84c7a.tar.bz2
Toolchain: Test compiler initial settings
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 0000000..b526135
--- /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;
+}