Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / ucnid-6.c
bloba6f4fd4c113d8f987c0a9b1a64d59061996d8bc6
1 /* { dg-do run } */
2 /* { dg-xfail-if "" { "powerpc-ibm-aix*" } } */
3 /* { dg-skip-if "" { ! ucn } } */
4 /* { dg-options "-std=c99 -save-temps -g" } */
5 void abort (void);
7 int \u00C0(void) { return 1; }
8 int \u00C1(void) { return 2; }
9 int \U000000C2(void) { return 3; }
10 int wh\u00ff(void) { return 4; }
11 int a\u00c4b\u0441\U000003b4e(void) { return 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;