Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / block-8.c
blobf41007060e8cd452e9a4aa3e7421e80c7f44aa57
1 // { dg-do compile }
2 // PR 24451
4 int foo()
6 int i;
8 #pragma omp parallel for
9 for (i = 0; i < 10; ++i)
10 return 0; // { dg-error "invalid branch to/from OpenMP structured block" }