Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / pr100785.c
blob37ff0aa8925fcae7ecb7cb3210310b8ffaf54845
1 /* PR inline-asm/100785 */
3 struct S { int a : 1; };
5 void
6 foo (struct S *x)
8 __asm__ ("" : "+m" (x->a)); /* { dg-error "address of bit-field" } */
11 void
12 bar (struct S *x)
14 __asm__ ("" : "=m" (x->a)); /* { dg-error "address of bit-field" } */
17 void
18 baz (struct S *x)
20 __asm__ ("" : : "m" (x->a)); /* { dg-error "address of bit-field" } */