summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20091017-1_0.c
blob: ec4c62e4d7cc8ccdc845e754c3acf1a3e2f0e7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-lto-do run } */

struct X {
    int i;
};
extern void foo (void *);
extern void abort (void);
int main ()
{
  struct X *p;
  foo(&p);
  if (p != (struct X *)0)
    abort ();
  return 0;
}