1 /* { dg-do compile } */
2 /* { dg-options "-O0" } */
3 /* { dg-additional-options "-mregparm=3" { target ia32 } } */
5 /* Verify that __attribute__((naked)) produces a naked function
6 that does not allocate stack slots for args. */
10 __attribute__((naked
))
11 foo (int a
, int b
, int c
)
14 asm volatile ("ret" :: "a" (b
));
17 /* { dg-final { scan-assembler-not "%\[re\]bp" } } */