(root)/
gcc-13.2.0/
libgomp/
testsuite/
libgomp.oacc-c-c++-common/
gang-reduction-var-assignment.c
       1  /* { dg-xfail-run-if "PR88852" { openacc_host_selected } } */
       2  
       3  int
       4  main (void)
       5  {
       6    int x = 123;
       7  
       8  #pragma acc parallel num_gangs(1) reduction (+: x)
       9    {
      10      x = 23;
      11    }
      12    if (x != 146)
      13      __builtin_abort();
      14  
      15    return 0;
      16  }