Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
doacross-2.C
blob: 1fd63570f4a21b734a7831376a4f6b9b7bec4d80 [
file
] [
log
] [
blame
]
// PR c++/100957
// { dg-do compile }
struct
S
{
S
()
{
#pragma
omp
for
ordered
(
2
)
for
(
int
i
=
0
;
i
<
32
;
++
i
)
for
(
int
j
=
0
;
j
<
32
;
++
j
)
{
#pragma
omp ordered depend
(
source
)
;
#pragma
omp ordered depend
(
sink
:
i
-
1
,
j
-
1
)
}
}
};