summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/EnvConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/try_compile/EnvConfig.c')
-rw-r--r--Tests/RunCMake/try_compile/EnvConfig.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/EnvConfig.c b/Tests/RunCMake/try_compile/EnvConfig.c
new file mode 100644
index 0000000..5b1d400
--- /dev/null
+++ b/Tests/RunCMake/try_compile/EnvConfig.c
@@ -0,0 +1,7 @@
+#ifdef TC_CONFIG_BAD
+# error "Built in 'Bad' config"
+#endif
+int main(void)
+{
+ return 0;
+}