1 /* { dg-do compile } */ 2 /* { dg-skip-if "need at least armv5" { *-*-* } { "-march=armv[234]*" } { "" } } */ 3 /* { dg-require-effective-target arm_arch_v5te_ok } */ 4 /* { dg-options "-O2" } */ 5 /* { dg-add-options arm_arch_v5te } */ 6 /* { dg-final { scan-assembler "blx" } } */ 7 8 int (*indirect_func)(int x); 9 indirect_call()10int indirect_call() 11 { 12 return indirect_func(20) + indirect_func (40); 13 } 14