OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / ucnid-1.c
1 /* { dg-do run } */
2 /* { dg-options "-std=c99 -fextended-identifiers" } */
3 void abort (void);
4
5 int main (void)
6 {
7   int \u00C0 = 1;
8   int \u00C1 = 2;
9   int \U000000C2 = 3;
10   int wh\u00ff = 4;
11   int a\u00c4b\u0441\U000003b4e = 5;
12   
13   if (\u00C0 != 1)
14     abort ();
15   if (\u00c1 != 2)
16     abort ();
17   if (\u00C2 != 3)
18     abort ();
19   if (wh\u00ff != 4)
20     abort ();
21   if (a\u00c4b\u0441\U000003b4e != 5)
22     abort ();
23   
24   return 0;
25 }