PR c/64856
[official-gcc.git] / gcc / testsuite / gcc.dg / ucnid-14.c
blob8d4eb71465b21367370cb53943f83302340d4091
1 /* Test miscellaneous uses of UCNs in identifiers compile and run OK,
2 with debug info enabled. */
3 /* { dg-do run } */
4 /* { dg-options "-std=c99 -g" } */
6 extern void abort (void);
7 extern void exit (int);
9 int
10 main (void)
12 struct \u00C0 { int \u00C1; } x;
13 struct \u00C0 *y = &x;
14 y->\u00C1 = 1;
15 if (x.\U000000C1 != 1)
16 abort ();
17 goto \u00ff;
18 \u00ff: ;
19 enum e { \u00C2 = 4 };
20 if (\u00C2 != 4)
21 abort ();
22 exit (0);