2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / unsorted / s.c
blobe0c84262208ad5afa26436c375eef8147212b165
1 struct foo
3 int a, b, c, d;
4 double doubl;
5 } s1, s2;
7 struct foo
8 structret (s1, i1, i2, s2)
9 struct foo s1, s2;
10 int i1, i2;
12 if (i1 != i2)
14 if (i1 < i2)
15 return s1;
16 else
17 return s2;
19 s2.a = 11;
20 s2.b = 22;
21 s2.c = s1.c;
22 s2.d = s1.d;
23 return s2;