diff options
Diffstat (limited to 'Tests/CMakeCommands/target_compile_definitions/consumer.c')
-rw-r--r-- | Tests/CMakeCommands/target_compile_definitions/consumer.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/Tests/CMakeCommands/target_compile_definitions/consumer.c b/Tests/CMakeCommands/target_compile_definitions/consumer.c index 5796d96..7931a6f 100644 --- a/Tests/CMakeCommands/target_compile_definitions/consumer.c +++ b/Tests/CMakeCommands/target_compile_definitions/consumer.c @@ -1,23 +1,22 @@ #ifdef TEST_LANG_DEFINES - #ifdef CONSUMER_LANG_CXX - #error Unexpected CONSUMER_LANG_CXX - #endif +#ifdef CONSUMER_LANG_CXX +#error Unexpected CONSUMER_LANG_CXX +#endif - #ifndef CONSUMER_LANG_C - #error Expected CONSUMER_LANG_C - #endif +#ifndef CONSUMER_LANG_C +#error Expected CONSUMER_LANG_C +#endif - #if !LANG_IS_C - #error Expected LANG_IS_C - #endif +#if !LANG_IS_C +#error Expected LANG_IS_C +#endif - #if LANG_IS_CXX - #error Unexpected LANG_IS_CXX - #endif +#if LANG_IS_CXX +#error Unexpected LANG_IS_CXX +#endif #endif void consumer_c() { - } |