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

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