aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/interposition.c
blob: 574475c0d93942e255df568f6fd2605ef960bb1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O1 -fno-semantic-interposition -fdump-tree-optimized -fPIC" } */
int t(void)
{
  return 1;
}
int q(void)
{
  return t();
}
/* { dg-final { scan-tree-dump-times "return 1" 2 "optimized"} } */