You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
801 B
34 lines
801 B
#include "c_std.h"
|
|
|
|
#if DEFAULT_C23
|
|
# if C_STD <= C_STD_17
|
|
# error Unexpected value for __STDC_VERSION__.
|
|
# endif
|
|
#elif DEFAULT_C17
|
|
# if C_STD <= C_STD_11
|
|
# error Unexpected value for __STDC_VERSION__.
|
|
# endif
|
|
#elif DEFAULT_C11
|
|
# if C_STD <= C_STD_99
|
|
# error Unexpected value for __STDC_VERSION__.
|
|
# endif
|
|
#elif DEFAULT_C99
|
|
# if C_STD != C_STD_99
|
|
# error Unexpected value for __STDC_VERSION__.
|
|
# endif
|
|
#else
|
|
# if !DEFAULT_C90
|
|
# error Buildsystem error
|
|
# endif
|
|
# if defined(__STDC_VERSION__) && \
|
|
!(__STDC_VERSION__ == 199409L && \
|
|
(defined(__INTEL_COMPILER) || defined(__SUNPRO_C)))
|
|
# error Unexpected __STDC_VERSION__ definition
|
|
# endif
|
|
#endif
|
|
|
|
int main(void)
|
|
{
|
|
return 0;
|
|
}
|