2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / lookup3.C
bloba2946b7b07c29ce49fb815c4ff367eda186b8ae6
1 // { dg-do run  }
2 // Test to make sure that the use of __typeof__ in WIFEXITED works.
4 int main ()
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    );