[ARM] Fix PR85203: cmse_nonsecure_caller returns wrong result
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / tail_indirect_call_1.c
blobde8f12d6e22360ef7e376530a165b556ae152466
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef void FP (int);
6 /* { dg-final { scan-assembler-times "br\t" 2 } } */
7 /* { dg-final { scan-assembler-not "blr\t" } } */
8 void
9 f1 (FP fp, int n)
11 (fp) (n);
14 void
15 f2 (int n, FP fp)
17 (fp) (n);