Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
critical-2.c
blob: f501cc1816f4a0da2baf290c233562e0a98c5ae6 [
file
] [
log
] [
blame
]
int
i
;
void
foo
(
int
j
)
{
#pragma
omp critical
(
foo
)
hint
(
j
+
1
)
/* { dg-error "constant integer expression" } */
i
=
i
+
1
;
#pragma
omp critical
(
foo
),
hint
(
j
)
/* { dg-error "constant integer expression" } */
i
=
i
+
1
;
}