Sign in
gnu
/
gcc
/
2c564e813c0626802e5bfb066c094933d5e6a774
/
.
/
libgomp
/
testsuite
/
libgomp.oacc-c-c++-common
/
gang-reduction-var-assignment.c
blob: 05f58a4bddf9489cfaf5d323be98c9be734b910f [
file
] [
log
] [
blame
]
/* { dg-xfail-run-if "PR88852" { openacc_host_selected } } */
int
main
(
void
)
{
int
x
=
123
;
#pragma
acc parallel num_gangs
(
1
)
reduction
(+:
x
)
{
x
=
23
;
}
if
(
x
!=
146
)
__builtin_abort
();
return
0
;
}