38 lines
547 B
C++
Raw Normal View History

2013-03-16 19:13:01 +02:00
#ifdef MY_PRIVATE_DEFINE
2018-08-09 18:06:22 +02:00
# error Unexpected MY_PRIVATE_DEFINE
2013-03-16 19:13:01 +02:00
#endif
#ifndef MY_PUBLIC_DEFINE
2018-08-09 18:06:22 +02:00
# error Expected MY_PUBLIC_DEFINE
2013-03-16 19:13:01 +02:00
#endif
#ifndef MY_INTERFACE_DEFINE
2018-08-09 18:06:22 +02:00
# error Expected MY_INTERFACE_DEFINE
2013-03-16 19:13:01 +02:00
#endif
#ifndef DASH_D_DEFINE
2018-08-09 18:06:22 +02:00
# error Expected DASH_D_DEFINE
2013-03-16 19:13:01 +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;
}