blob: 9475bd835c6f579bb1502e95287587ec260f7fda [file] [log] [blame]
/* PR c++/60689 */
/* { dg-do compile } */
struct S { char x[9]; };
void
foo (struct S *x, struct S *y, struct S *z)
{
__atomic_exchange (x, y, z, __ATOMIC_SEQ_CST);
}