Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
pr106981.c
blob: a21d3c2029d27609184731e70376fce2d2c2892a [
file
] [
log
] [
blame
]
/* PR c/106981 */
/* { dg-do compile } */
void
foo
(
int
a
,
double
*
b
,
double
*
c
,
double
*
d
,
long
long
e
)
{
#pragma
omp atomic capture
c
[
a
]
=
d
[((
int
)
(
e
/
10
+
1
))]
=
b
[
a
]
+
d
[((
int
)
e
/
10
+
1
)];
/* { dg-error "invalid form" } */
}