1 /* { dg-do compile } */
2 /* { dg-require-effective-target naked_functions } */
3 /* { dg-options "-O2 -Wall" } */
6 void __attribute__((__naked__
))
12 int __attribute__((naked
))
13 zoo (int a
, int b
, int c
, int d
, int e
, int f
)
18 /* Verify that __attribute__((naked)) produces a naked function that
19 does not use bx to return. */
20 /* { dg-final { scan-assembler-not "\tbx\tlr" } } */