1 // { dg-do run } 2 // Test to make sure that the use of __typeof__ in WIFEXITED works. 3 main()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 } 19