/* Check that we save non-MIPS16 GPRs if they are explicitly clobbered.  */
/* { dg-options "(-mips16) isa_rev=0" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */

MIPS16 void
foo (void)
{
  asm volatile ("" ::: "$19", "$23", "$24", "$30");
}
/* { dg-final { scan-assembler-not "\\\$16" } } */
/* { dg-final { scan-assembler-not "\\\$17" } } */
/* { dg-final { scan-assembler-not "\\\$18" } } */
/* { dg-final { scan-assembler "\\\$19" } } */
/* { dg-final { scan-assembler-not "\\\$20" } } */
/* { dg-final { scan-assembler-not "\\\$21" } } */
/* { dg-final { scan-assembler-not "\\\$22" } } */
/* { dg-final { scan-assembler "\\\$23" } } */
/* { dg-final { scan-assembler-not "\\\$24" } } */
/* { dg-final { scan-assembler "\\\$(30|fp)" } } */
