aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ucnid-7.c
blob: fe265af7f79d2c6d041baeb398afb28306580c0e (plain)
1
2
3
4
5
6
7
8
9
/* Verify diagnostics for extended identifiers refer to UCNs (in the C
   locale).  */
/* { dg-do compile } */
/* { dg-options "-std=c99" } */
/* { dg-require-ascii-locale "" } */
/* { dg-skip-if "" { "powerpc-ibm-aix*" } } */

void *p = &\u00e9; /* { dg-error "'\\\\U000000e9' undeclared" } */
void *q = &\u1e00; /* { dg-error "'\\\\U00001e00' undeclared" } */