consumer.c 316 B

1234567891011121314151617181920212223
  1. #ifdef TEST_LANG_DEFINES
  2. #ifdef CONSUMER_LANG_CXX
  3. #error Unexpected CONSUMER_LANG_CXX
  4. #endif
  5. #ifndef CONSUMER_LANG_C
  6. #error Expected CONSUMER_LANG_C
  7. #endif
  8. #if !LANG_IS_C
  9. #error Expected LANG_IS_C
  10. #endif
  11. #if LANG_IS_CXX
  12. #error Unexpected LANG_IS_CXX
  13. #endif
  14. #endif
  15. void consumer_c()
  16. {
  17. }