blob: e037af34a632193113950ac57f9dae7fedfeb2d1 [file] [log] [blame]
/* { dg-additional-options "-O2" } */
/* PR 69916, an loop determined to be empty sometime after omp-lower
and before oacc-device-lower can evaporate leading to no GOACC_LOOP
internal functions existing. */
int
main (void)
{
#pragma acc parallel
{
int j = 0;
#pragma acc loop private (j)
for (int i = 0; i < 10; i++)
j++;
}
return 0;
}