blob: 8880cd288eea87a7be59bdc0971aa6c5a7f7d809 [file] [log] [blame]
/* { dg-options "-Os -msave-restore" } */
/* As a leaf function this should never have the calls to the save and
restore stubs added, but lets check anyway. */
int func ()
{
return 3;
}
/* { dg-final { scan-assembler-not "call\[ \t\]*t0,__riscv_save_0" } } */
/* { dg-final { scan-assembler-not "tail\[ \t\]*__riscv_restore_0" } } */