Sign in
gnu
/
gcc
/
926d9947847a0683cf34de6fc231209747576088
/
.
/
libgomp
/
testsuite
/
libgomp.c++
/
single-3.C
blob: abc7f44b31140330e63ceecd38fcfc00e17a7f8a [
file
] [
log
] [
blame
]
extern
"C"
void
abort
(
void
);
void
single
(
int
a
,
int
b
)
{
#pragma
omp single copyprivate
(
a
)
copyprivate
(
b
)
{
a
=
b
=
5
;
}
if
(
a
!=
b
)
abort
();
}
int
main
()
{
#pragma
omp parallel
single
(
1
,
2
);
return
0
;
}