blob: 2c3ed499d5b63c394373b0b816cea0b18f322cdd [file] [log] [blame]
/* { dg-do compile } */
/* PR middle-end/106982 */
void test1(double *c)
{
double reduced[5];
#pragma acc parallel loop gang private(reduced)
for (int x = 0; x < 5; ++x)
#pragma acc loop worker reduction(*:reduced)
for (int y = 0; y < 5; ++y) { }
}