OSDN Git Service

* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / lookup3.C
1 // { dg-do run  }
2 // Test to make sure that the use of __typeof__ in WIFEXITED works.
3
4 int main ()
5 {
6   int stat_loc = 0;
7   (__extension__
8    ({
9      union
10      {
11        __typeof__ (stat_loc) __in;
12        int              __i;
13      } __u;
14      __u.__in = (stat_loc);
15      __u.__i;
16    })
17    );
18 }