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

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