2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 990525-1.c
blob39b65d101d66ede2228c7ee8c8fc3023b42cac72
1 struct blah {
2 int m1, m2;
3 };
5 void die(struct blah arg)
7 int i ;
8 struct blah buf[1];
10 for (i = 0; i < 1 ; buf[i++] = arg)
12 if (buf[0].m1 != 1) {
13 abort ();
17 int main()
19 struct blah s = { 1, 2 };
21 die(s);
22 exit (0);