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

extern int foo (int);

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