1 /* { dg-do compile { target mips*-*-* } } */
2 
3 register unsigned long c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2");
4 
5 extern unsigned long b, c;
6 
7 void __attribute__ ((nomips16))
foo()8 foo ()
9 {
10   unsigned long a, d;
11 
12   c3r1 = a;
13   b = c3r1;
14 
15   c3r2 = c;
16   d = c3r1;
17   printf ("%d\n", d);
18 }
19 
20