Debian Codegraph @

gcc/testsuite/c-c++-common/cpp/wide-narrow-predef-macros.c

raw
1 /*
2 { dg-do compile }
3 */
4
5 #if !defined(__GNUC_EXECUTION_CHARSET_NAME)
6 #error "Required implementation macro for comple-time charset name is not present"
7 #endif
8 #if !defined(__GNUC_WIDE_EXECUTION_CHARSET_NAME)
9 #error "Required implementation macro for wide comple-time charset name is not present"
10 #endif
11
12 const char narrow_name[] = __GNUC_EXECUTION_CHARSET_NAME;
13 const char wide_name[] = __GNUC_WIDE_EXECUTION_CHARSET_NAME;