summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_compile_definitions/consumer.c
blob: 5796d96524a2bdf7f46837d79ad067fcfcfc0691 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#ifdef TEST_LANG_DEFINES
  #ifdef CONSUMER_LANG_CXX
  #error Unexpected CONSUMER_LANG_CXX
  #endif

  #ifndef CONSUMER_LANG_C
  #error Expected CONSUMER_LANG_C
  #endif

  #if !LANG_IS_C
  #error Expected LANG_IS_C
  #endif

  #if LANG_IS_CXX
  #error Unexpected LANG_IS_CXX
  #endif
#endif

void consumer_c()
{

}