OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr40031.c
1 /* { dg-do compile { target fpic } } */
2 /* { dg-options "-O2 -fPIC" } */
3 double c;
4 double d;
5 double *f(int a)
6 {
7   if(a) return &c;
8   return &d;
9 }