1/* { dg-do compile { target mips*-*-* } } */
2
3register unsigned int cp0count asm ("$c0r1");
4
5int __attribute__ ((nomips16))
6main (int argc, char *argv[])
7{
8  unsigned int d;
9
10  d = cp0count + 3;
11  printf ("%d\n", d);
12}
13