./:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / mipscop-1.c
blob916a571db19a1e6763c8a7a3be4ee86d2e18645b
1 /* { dg-do compile { target mips*-*-* } } */
3 #ifndef __mips16
4 register unsigned int cp0count asm ("$c0r1");
6 int
7 main (int argc, char *argv[])
9 unsigned int d;
11 d = cp0count + 3;
12 printf ("%d\n", d);
14 #endif