summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020326-1.c
blob: 4a903bc91c473d10161560a71c29112ee972204f (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR target/6054 */
/* { dg-do compile { target ia64-*-* } } */
/* { dg-options "-O -mconstant-gp" } */
/* { dg-final { scan-assembler "mov r1 =" } } */

extern void direct (void);
void foo(void (*indirect) (void))
{
  indirect ();
  direct ();
}