blob: 557f1ba21bd91c2e6e3d03de1bfe14f260a81e23 [file] [log] [blame]
/* PR c++/84341 */
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */
void
foo (int i)
{
#pragma omp atomic
i = &i + 1; /* { dg-error "invalid form of" } */
}