1 /* PR target/79559 */ 2 /* { dg-do compile } */ 3 4 void foo(int x)5foo (int x) 6 { 7 __asm__ volatile ("# %K0" : : "r" (x)); /* { dg-error "invalid operand code" } */ 8 __asm__ volatile ("# %r0" : : "r" (x)); /* { dg-error "invalid operand code" } */ 9 __asm__ volatile ("# %r0" : : "n" (129)); /* { dg-error "invalid operand code" } */ 10 __asm__ volatile ("# %R0" : : "r" (x)); /* { dg-error "invalid operand code" } */ 11 } 12