Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr42234.C
blob: 9245b6c681c64e2620e010233a7895639bd40829 [
file
] [
log
] [
blame
]
// PR c++/42234
// { dg-do compile }
// { dg-options "-fopenmp" }
extern
int
foo
(
void
);
void
bar
(
int
x
)
{
#pragma
omp critical
{
int
j
;
for
(
j
=
0
;
j
<
foo
();
j
++)
;
if
(
0
)
if
(
x
>=
4
)
;
}
}