38 lines
532 B
C++
Raw Normal View History

2013-11-03 12:27:13 +02:00
#ifdef DO_GNU_TESTS
2018-08-09 18:06:22 +02:00
# ifdef MY_PRIVATE_DEFINE
# error Unexpected MY_PRIVATE_DEFINE
# endif
2013-11-03 12:27:13 +02:00
2018-08-09 18:06:22 +02:00
# ifndef MY_PUBLIC_DEFINE
# error Expected MY_PUBLIC_DEFINE
# endif
2013-11-03 12:27:13 +02:00
2018-08-09 18:06:22 +02:00
# ifndef MY_INTERFACE_DEFINE
# error Expected MY_INTERFACE_DEFINE
# endif
2013-11-03 12:27:13 +02:00
#endif
2016-07-09 11:21:54 +02:00
#ifndef CONSUMER_LANG_CXX
2018-08-09 18:06:22 +02:00
# error Expected CONSUMER_LANG_CXX
2016-07-09 11:21:54 +02:00
#endif
2015-08-17 11:37:30 +02:00
2016-07-09 11:21:54 +02:00
#ifdef CONSUMER_LANG_C
2018-08-09 18:06:22 +02:00
# error Unexpected CONSUMER_LANG_C
2016-07-09 11:21:54 +02:00
#endif
2015-08-17 11:37:30 +02:00
2016-07-09 11:21:54 +02:00
#if !LANG_IS_CXX
2018-08-09 18:06:22 +02:00
# error Expected LANG_IS_CXX
2016-07-09 11:21:54 +02:00
#endif
2015-08-17 11:37:30 +02:00
2016-07-09 11:21:54 +02:00
#if LANG_IS_C
2018-08-09 18:06:22 +02:00
# error Unexpected LANG_IS_C
2016-07-09 11:21:54 +02:00
#endif
2015-08-17 11:37:30 +02:00
2016-07-09 11:21:54 +02:00
int main()
{
return 0;
}