1 /* { dg-do compile } */ 2 3 typedef enum 4 { 5 XYZZY, 6 } enumType; 7 8 typedef struct 9 { 10 unsigned char More : 1; 11 } tResp; 12 13 typedef struct 14 { 15 enumType QueryType; 16 union 17 { 18 tResp l[0]; 19 } u; 20 } tQResp; 21 test(void)22void test(void) 23 { 24 tQResp *qResp = (0); 25 if (qResp->u.l[0].More == 0) 26 return; 27 } 28