PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / ucnid-2.c
blob35df3f08a2e40fd00218b3020a32d0c72a31fa37
1 /* { dg-do run } */
2 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
3 /* { dg-skip-if "" { ! ucn } } */
4 /* { dg-options "-std=c99 -g" } */
5 void abort (void);
7 static int \u00C0 = 1;
8 static int \u00C1 = 2;
9 static int \U000000C2 = 3;
10 static int wh\u00ff = 4;
11 static int a\u00c4b\u0441\U000003b4e = 5;
13 int main (void)
16 if (\u00C0 != 1)
17 abort ();
18 if (\u00c1 != 2)
19 abort ();
20 if (\u00C2 != 3)
21 abort ();
22 if (wh\u00ff != 4)
23 abort ();
24 if (a\u00c4b\u0441\U000003b4e != 5)
25 abort ();
27 return 0;