Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
pr84341.c
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" } */
}