1 // PR c++/85659 2 // { dg-do compile } 3 4 struct S { S (); ~S (); int s; }; 5 6 void foo(S & s)7 foo (S &s) 8 { 9 __asm volatile ("" : "+m,r" (s) : : "memory"); 10 } 11