2005-10-05 Steven Bosscher <stevenb@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / ucnid-4.c
blob1fd492551b8bd1c96a4ff358f64ec35adc07265a
1 /* { dg-do run } */
2 /* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "*" } { "" } } */
3 /* { dg-options "-std=c99 -fextended-identifiers" } */
4 void abort (void);
6 int \u00C0(void) { return 1; }
7 int \u00C1(void) { return 2; }
8 int \U000000C2(void) { return 3; }
9 int wh\u00ff(void) { return 4; }
10 int a\u00c4b\u0441\U000003b4e(void) { return 5; }
12 int main (void)
15 if (\u00C0() != 1)
16 abort ();
17 if (\u00c1() != 2)
18 abort ();
19 if (\u00C2() != 3)
20 abort ();
21 if (wh\u00ff() != 4)
22 abort ();
23 if (a\u00c4b\u0441\U000003b4e() != 5)
24 abort ();
26 return 0;