1struct A
2{
3  int one;
4  int two;
5  int three;
6  int four;
7  int five;
8  int six;
9};
10
11static int test (void)
12{
13  int base;
14
15  struct A Foo (void)
16    {
17      struct A a;
18
19      a.one = base + 1;
20      a.two = base + 2;
21      a.three = base + 3;
22      a.four = base + 4;
23      a.five = base + 5;
24      a.six = base + 6;
25
26      return a;
27    }
28
29  base = 10;
30  struct A a = Foo ();
31
32  return (a.one == 11
33	  && a.two == 12
34	  && a.three == 13
35	  && a.four == 14
36	  && a.five == 15
37	  && a.six == 16);
38}
39
40int main (void)
41{
42  return !test ();
43}
44
45