summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr27359.C
blob: 603898c32b1f847c2d4d7b22d67da440320622da (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/27359
// { dg-do compile }

void
foo ()
{
#pragma omp parallel for
  for (int i; i < 1; ++i)	// { dg-error "expected|was not declared" }
    ;
}