(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
gomp/
pr78363-1.C
// { dg-do compile }
// { dg-require-effective-target c++11 }
// { dg-additional-options "-g" }

int main()
{
  int n = 0;

#pragma omp parallel for reduction (+: n)
  for (int i = [](){ return 3; }(); i < 10; ++i)
    n++;

  return n;
}