Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / upcast-1.c
blob7838817f2f5d2b8d7173618d59e5ed1bb639c2ee
1 /* { do-go compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
4 typedef struct { int i; } Foo;
5 Foo foo;
6 Foo *bar(void)
8 return (Foo *)&foo.i;
11 /* { dg-final { scan-tree-dump "&foo;" "gimple" } } */