repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
pr106981.c
blob
a21d3c2029d27609184731e70376fce2d2c2892a
1
/* PR c/106981 */
2
/* { dg-do compile } */
3
4
void
5
foo
(
int
a
,
double
*
b
,
double
*
c
,
double
*
d
,
long long
e
)
6
{
7
#pragma omp atomic capture
8
c
[
a
] =
d
[((
int
) (
e
/
10
+
1
))] =
b
[
a
] +
d
[((
int
)
e
/
10
+
1
)];
/* { dg-error "invalid form" } */
9
}