summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_include_directories/consumer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeCommands/target_include_directories/consumer.c')
-rw-r--r--Tests/CMakeCommands/target_include_directories/consumer.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/Tests/CMakeCommands/target_include_directories/consumer.c b/Tests/CMakeCommands/target_include_directories/consumer.c
index 8821f5b..ae88f92 100644
--- a/Tests/CMakeCommands/target_include_directories/consumer.c
+++ b/Tests/CMakeCommands/target_include_directories/consumer.c
@@ -1,10 +1,13 @@
#ifdef TEST_LANG_DEFINES
- #include "c_only.h"
+#include "c_only.h"
- #ifndef C_ONLY_DEFINE
- #error Expected C_ONLY_DEFINE
- #endif
+#ifndef C_ONLY_DEFINE
+#error Expected C_ONLY_DEFINE
+#endif
#endif
-int consumer_c() { return 0; }
+int consumer_c()
+{
+ return 0;
+}