c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr68104.c
blob8743ecf52bd9c6e325ed3b8b564c3de033d81685
1 /* { dg-do compile } */
2 /* { dg-additional-options "-std=gnu17" } */
4 typedef struct
6 char vl;
7 char weight;
8 } ib_vl_arb_element_t;
9 typedef struct { ib_vl_arb_element_t vl_entry[32]; } ib_vl_arb_table_t;
10 typedef enum { IB_SUCCESS } ib_api_status_t;
11 int a, b, d;
12 char c;
13 void fn1();
14 ib_api_status_t fn2()
16 int e = b;
17 ib_vl_arb_table_t f;
18 if (e)
19 for (a = 0; a < d; a++)
20 f.vl_entry[a].vl &= c;
21 fn1(f);
22 return IB_SUCCESS;