swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Raw File
Tip revision: 4a6fe0290880bd56dd5141f06c9fa2b9e310162e authored by Brad King on 13 August 2015, 13:17:06 UTC
CMake 3.3.1
Tip revision: 4a6fe02
consumer.cpp

#ifdef MY_PRIVATE_DEFINE
#error Unexpected MY_PRIVATE_DEFINE
#endif

#ifndef MY_PUBLIC_DEFINE
#error Expected MY_PUBLIC_DEFINE
#endif

#ifndef MY_INTERFACE_DEFINE
#error Expected MY_INTERFACE_DEFINE
#endif

#ifndef DASH_D_DEFINE
#error Expected DASH_D_DEFINE
#endif

#ifdef TEST_LANG_DEFINES
  #ifndef CONSUMER_LANG_CXX
  #error Expected CONSUMER_LANG_CXX
  #endif

  #ifdef CONSUMER_LANG_C
  #error Unexpected CONSUMER_LANG_C
  #endif

  #if !LANG_IS_CXX
  #error Expected LANG_IS_CXX
  #endif

  #if LANG_IS_C
  #error Unexpected LANG_IS_C
  #endif
#endif

int main() { return 0; }
back to top