1 /* { dg-do compile } */
2 /* { dg-options "-O0" } */
3 /* Check that naked functions don't place arguments on the stack at
4 optimisation level '-O0'. */
7 void __attribute__((naked
))
12 /* { dg-final { scan-assembler "\tbl @bar" } } */
14 /* Look for things that would appear in a non-naked function, but which
15 should not appear in a naked function. */
16 /* { dg-final { scan-assembler-not "\tj.* \\\[blink\\\]" } } */
17 /* { dg-final { scan-assembler-not "\tst.* " } } */
18 /* { dg-final { scan-assembler-not "\tmov fp,sp" } } */