Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
method-1.C
blob: 3d8235656b171dbc10180d3b1a9944bf93c8d729 [
file
] [
log
] [
blame
]
/* PR c++/24513 */
/* { dg-do compile } */
struct
S
{
void
foo
(
int
*
p
)
{
#pragma
omp parallel
for
for
(
int
i
=
0
;
i
<
1000
;
++
i
)
p
[
i
]=
0
;
}
void
bar
()
{
#pragma
omp master
j
=
2
;
}
int
j
;
};