OSDN Git Service

PR c++/33890
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / gomp / pr27359.C
1 // PR c++/27359
2 // { dg-do compile }
3
4 void
5 foo ()
6 {
7 #pragma omp parallel for
8   for (int i; i < 1; ++i)       // { dg-error "expected|was not declared" }
9     ;
10 }