summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20090213_0.c
blob: 6387a0e4716dd1732698a1c1b4d5a0cc408d8f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-lto-do run } */
#include <stdio.h>

extern int foo (int);

main()
{
  int x = foo (10);
  printf ("x is %d, foo is at 0x%p\n", x, foo);
  return 0;
}