view gcc/testsuite/c-c++-common/pr60689.c @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* 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);
}