Fix unused warnings.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.c-torture / execute / pr29156.c
blob20f5f9979c56041d3f4398db0e8624534a21496c
1 extern void abort(void);
2 struct test1
4 int a;
5 int b;
6 };
7 struct test2
9 float d;
10 struct test1 sub;
13 int global;
15 int bla(struct test1 *xa, struct test2 *xb)
17 global = 1;
18 xb->sub.a = 1;
19 xa->a = 8;
20 return xb->sub.a;
23 int main(void)
25 struct test2 pom;
27 if (bla (&pom.sub, &pom) != 8)
28 abort ();
30 return 0;