summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/UnityBuild/per_config_c_other.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/UnityBuild/per_config_c_other.c')
-rw-r--r--Tests/RunCMake/UnityBuild/per_config_c_other.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/UnityBuild/per_config_c_other.c b/Tests/RunCMake/UnityBuild/per_config_c_other.c
new file mode 100644
index 0000000..89c7a6b
--- /dev/null
+++ b/Tests/RunCMake/UnityBuild/per_config_c_other.c
@@ -0,0 +1,9 @@
+#ifdef CFG_DEBUG
+# error "per_config_c_other built with CFG_DEBUG"
+#endif
+#ifndef CFG_OTHER
+# error "per_config_c_other built without CFG_OTHER"
+#endif
+void per_config_c_other(void)
+{
+}