2013-05-16 17:20:16 +04:00
|
|
|
|
|
|
|
#ifdef DO_GNU_TESTS
|
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
#ifdef MY_PRIVATE_DEFINE
|
|
|
|
#error Unexpected MY_PRIVATE_DEFINE
|
|
|
|
#endif
|
2013-05-16 17:20:16 +04:00
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
#ifndef MY_PUBLIC_DEFINE
|
|
|
|
#error Expected MY_PUBLIC_DEFINE
|
|
|
|
#endif
|
2013-05-16 17:20:16 +04:00
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
#ifndef MY_INTERFACE_DEFINE
|
|
|
|
#error Expected MY_INTERFACE_DEFINE
|
|
|
|
#endif
|
2013-05-16 17:20:16 +04:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2014-11-26 00:47:44 +03:00
|
|
|
#ifdef TEST_LANG_DEFINES
|
2016-05-16 17:34:04 +03:00
|
|
|
#ifndef CONSUMER_LANG_CXX
|
|
|
|
#error Expected CONSUMER_LANG_CXX
|
|
|
|
#endif
|
2014-11-26 00:47:44 +03:00
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
#ifdef CONSUMER_LANG_C
|
|
|
|
#error Unexpected CONSUMER_LANG_C
|
|
|
|
#endif
|
2014-11-26 00:47:44 +03:00
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
#if !LANG_IS_CXX
|
|
|
|
#error Expected LANG_IS_CXX
|
|
|
|
#endif
|
2014-11-26 00:47:44 +03:00
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
#if LANG_IS_C
|
|
|
|
#error Unexpected LANG_IS_C
|
|
|
|
#endif
|
2014-11-26 00:47:44 +03:00
|
|
|
#endif
|
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
int main()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|