summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/pr102059-1_1.c
blob: 7e31fc7fbd9491f6f3c541d0751b10ecc404c2ef (plain)
1
2
3
4
5
6
7
8
9
extern int foo1 (int *b);

int __attribute__ ((always_inline)) foo2 (int *b)
{
  int res = foo1 (b);
  *b += res;
  return *b;
}