analyzer: enable taint state machine by default [PR103533]
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / pr99226.c
blobcc9db62d02947afc95d1aa162241f0f2e13ce2a4
1 /* PR fortran/99226 */
2 /* { dg-do compile } */
4 void
5 foo (int n)
7 int i;
8 #pragma omp target /* { dg-error "construct with nested 'teams' construct contains directives outside of the 'teams' construct" } */
10 #pragma omp teams distribute dist_schedule (static, n + 4)
11 for (i = 0; i < 8; i++)
13 #pragma omp teams distribute dist_schedule (static, n + 4)
14 for (i = 0; i < 8; i++)