struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-packed-1.c
blob5bb1873dfc45fea126267b79f61bd8fb8bc37425
1 /*
2 packed-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 short x1 = 17;
9 struct
11 short i ;
12 } t;
14 void
15 f (void)
17 t.i = x1;
18 ASSERT(t.i == 17);
21 void
22 testTortureExecute (void)
24 f ();
25 return;