mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 03:52:59 +00:00
17 lines
222 B
C
17 lines
222 B
C
/* { 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;
|
|
}
|