[ARM] Rework expectation for call to Armv8-M nonsecure function
[official-gcc.git] / gcc / testsuite / gcc.target / arm / cmse / cmse-14.c
blobdf1ea52bec533c36a738d7d3b2b2ff749b0f3713
1 /* { dg-do compile } */
2 /* { dg-options "-mcmse" } */
5 int __attribute__ ((cmse_nonsecure_call)) (*bar) (void);
7 int foo (void)
9 return bar ();
12 /* { dg-final { scan-assembler "bl\t__gnu_cmse_nonsecure_call" } } */
13 /* { dg-final { scan-assembler-not "^(.*\\s)?bl?\[^\\s]*\\s+bar" } } */