Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / c-c++-common / pr60689.c
blob9475bd835c6f579bb1502e95287587ec260f7fda
1 /* PR c++/60689 */
2 /* { dg-do compile } */
4 struct S { char x[9]; };
6 void
7 foo (struct S *x, struct S *y, struct S *z)
9 __atomic_exchange (x, y, z, __ATOMIC_SEQ_CST);