2017-09-26 Thomas Koenig <tkoenig@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / ucnid-10.c
blob1a2d3e8a5ae9b9c55b2fe91cecf65dfb6b370b62
1 /* Verify diagnostics for extended identifiers refer to UCNs (in the C
2 locale). Test #pragma pack diagnostics. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99" } */
5 /* { dg-require-ascii-locale "" } */
6 /* { dg-skip-if "" { powerpc-ibm-aix* } } */
8 #pragma pack(push)
9 #pragma pack(pop, \u00f3) /* { dg-warning "pop, \\\\U000000f3.*push, \\\\U000000f3" } */
10 #pragma pack(\u00e7) /* { dg-warning "unknown action '\\\\U000000e7'" } */