Sign in
gnu
/
gcc
/
926d9947847a0683cf34de6fc231209747576088
/
.
/
libgomp
/
testsuite
/
libgomp.c++
/
master-1.C
blob: 734b4e2cd98e72528ec6ffc734c5a56480073b8d [
file
] [
log
] [
blame
]
// PR c++/24734
// { dg-do run }
extern
"C"
void
abort
();
int
i
;
template
<int>
void
foo
()
{
#pragma
omp parallel
{
#pragma
omp master
i
++;
}
}
int
main
()
{
foo
<
0
>
();
if
(
i
!=
1
)
abort
();
return
0
;
}