Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / asm-10.c
blobe6c03c62cabf275999c78f82cc8882752191c22b
1 /* PR inline-asm/67448 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 void
6 f (int i)
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" } */