c1x --> c11.
[gcc.git] / gcc / testsuite / gcc.dg / ucnid-7.c
1 /* Verify diagnostics for extended identifiers refer to UCNs (in the C
2 locale). */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c99 -fextended-identifiers" } */
5 /* { dg-require-ascii-locale "" } */
6 /* { dg-skip-if "" { "powerpc-ibm-aix*" } { "*" } { "" } } */
7
8 void *p = &\u00e9; /* { dg-error "'\\\\U000000e9' undeclared" } */
9 void *q = &\u1e00; /* { dg-error "'\\\\U00001e00' undeclared" } */