blob: f7f61aabd93d3406180debfe719651d946724274 [file] [log] [blame]
// PR c++/85659
// { dg-do compile }
struct S { S (); ~S (); int s; };
void
foo (S &s)
{
__asm volatile ("" : "+m,r" (s) : : "memory");
}