Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / pr83044.c
blob6681071bb92077e4efb1022b1ae1056eb36baf8d
1 /* PR tree-optimization/83044 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wall -std=gnu89 -O2" } */
5 struct A { int b[0]; };
6 struct B { struct A c[0]; };
7 void bar (int *);
9 void
10 foo (void)
12 struct B d;
13 bar (d.c->b);