summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr40887.c
blob: ca896fc166691cf0b3d526279b130f39daf9aa1c (plain)
1
2
3
4
5
6
7
8
9
/* { dg-options "-O2 -march=armv5te" }  */
/* { dg-final { scan-assembler "blx" } } */

int (*indirect_func)();

int indirect_call()
{
    return indirect_func();
}