8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/960326-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

17 lines
150 B
C

struct s
{
int a;
int b;
short c;
int d[3];
};
struct s s = { .b = 3, .d = {2,0,0} };
main ()
{
if (s.b != 3)
abort ();
exit (0);
}