1 /* PR target/17565.  GCC used to put the asm into the delay slot
2    of the call.  */
3 /* { dg-do assemble } */
4 
5 extern void bar (void);
6 
foo(int n)7 NOMIPS16 int foo (int n)
8 {
9   register int k asm ("$16") = n;
10   if (k > 0)
11     {
12       bar ();
13       asm ("li %0,0x12345678" : "=r" (k));
14     }
15   return k;
16 }
17