comparison gcc/testsuite/gcc.dg/ucnid-7-utf8.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* Verify diagnostics for extended identifiers refer to UCNs (in the C
2 locale). */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c99" } */
5 /* { dg-require-ascii-locale "" } */
6 /* { dg-skip-if "" { "powerpc-ibm-aix*" } } */
7
8 void *p = &é; /* { dg-error "'\\\\U000000e9' undeclared" } */
9 void *q = &Ḁ; /* { dg-error "'\\\\U00001e00' undeclared" } */