Compiler Error C3009

'label' : jump into OpenMP structured block not allowed

Code cannot jump into or out of an OpenMP block.

The following sample generates C3009:

// C3009.c
// compile with: /openmp
int main() {
   #pragma omp parallel
   {
   lbl2:;
   }
   goto lbl2;   // C3009
}