Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / arc / mno-rtsc.c
blobd74a60e935148124c2e7c8aaae33c910d530a58e
1 /* { dg-do compile } */
2 /* { dg-options "-mno-rtsc" } */
3 /* Would also like to assemble and check that we get the expected
4 "Error: bad instruction" assembler messages, but at the moment our
5 testharness can't do that. */
7 int f (int i)
9 __asm__("rtsc %1, %1" : "=r"(i) : "r"(i));
10 return i;