summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20100709-1_1.c
blob: b970795c61db287649aecd6e32b272cfab7737a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
struct X { int i; };
struct Y {
    struct X (*fnptr)(struct X);
};
extern struct Y foo;
int main()
{
  struct X x;
  foo.fnptr(x);
  return 0;
}