summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ucnid-10.c
blob: 317cbb113ac8c34b8a23b5515b4d20f7dc92ce97 (plain)
1
2
3
4
5
6
7
8
9
/* Verify diagnostics for extended identifiers refer to UCNs (in the C
   locale).  Test #pragma pack diagnostics.  */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -fextended-identifiers" } */
/* { dg-require-ascii-locale "" } */

#pragma pack(push)
#pragma pack(pop, \u00f3) /* { dg-warning "pop, \\\\U000000f3.*push, \\\\U000000f3" } */
#pragma pack(\u00e7) /* { dg-warning "unknown action '\\\\U000000e7'" } */