2 /* { dg-do compile } */
3 /* { dg-options "" } */
15 __atomic_exchange (&a
, &foo
, &b
, __ATOMIC_RELAXED
); /* { dg-error "must not be a pointer to a function" } */
22 __atomic_exchange (&a
, &arr
, &b
, __ATOMIC_RELAXED
); /* { dg-error "must be a pointer to a constant size type" } */