summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/longcall-1.c
blob: e7187f17a836fca88ce542f6e4fadb96042907f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR target/35100 */
/* { dg-do compile { target fpic } } */
/* { dg-options "-fpic" } */

void foo (void) __attribute__((__longcall__));
int baz (void) __attribute__((__longcall__));

int
bar (void)
{
  foo ();
  return baz () + 1;
}