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
/
depobj-2.c
blob
d06910c420a6c1c2b0e5b718ba5e7b3f1a572aae
1
/* PR c++/98072 */
2
3
typedef
struct
__attribute__
((
__aligned__
(
sizeof
(
void
*))))
omp_depend_t
{
4
char
__omp_depend_t__
[
2
*
sizeof
(
void
*)];
5
}
omp_depend_t
;
6
7
void
8
foo
(
int
*
x
,
omp_depend_t
*
y
,
int
z
)
9
{
10
#pragma omp depobj (*y) depend (in: x[z])
11
}