1 /* PR inline-asm/67448 */ 2 /* { dg-do compile } */ 3 /* { dg-options "" } */ 4 5 void f(int i)6f (int i) 7 { 8 asm ("" : : "m"(i += 1)); /* { dg-error "not directly addressable" } */ 9 asm ("" : : "m"(i++)); /* { dg-error "not directly addressable" } */ 10 asm ("" : : "m"(++i)); /* { dg-error "not directly addressable" } */ 11 asm ("" : : "m"(i = 0)); /* { dg-error "not directly addressable" } */ 12 } 13