Lines Matching +full:- +full:i
1 // RUN: %clang_cc1 -fsyntax-only -fopenmp -verify %s
11 for (int i = 0; i < 10; ++i) in foo() local
15 for (int i = 0; i < 10; ++i) in foo() local
19 for (int i = 0; i < 10; ++i) in foo() local
27 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
47 for (int i = 0; i < 10; ++i) in foo() local
51 for (int i = 0; i < 10; ++i) in foo() local
85 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'parallel' region; p… in foo()
106 for (int i = 0; i < 10; ++i) in foo() local
121 #pragma omp teams // expected-error {{region cannot be closely nested inside 'parallel' region; per… in foo()
127 for (int i = 0; i < 10; ++i) in foo() local
132 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'parallel' region… in foo()
133 for (int i = 0; i < 10; ++i) in foo() local
142 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'par… in foo()
143 for (int i = 0; i < 10; ++i) in foo() local
148 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
149 for (int i = 0; i < 10; ++i) in foo() local
154 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'parallel' r… in foo()
155 for (int i = 0; i < 10; ++i) in foo() local
161 for (int i = 0; i < 10; ++i) { in foo() local
162 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
163 for (int i = 0; i < 10; ++i) in foo() local
167 for (int i = 0; i < 10; ++i) { in foo() local
168 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
169 for (int i = 0; i < 10; ++i) in foo() local
173 for (int i = 0; i < 10; ++i) { in foo() local
174 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
175 for (int i = 0; i < 10; ++i) in foo() local
179 for (int i = 0; i < 10; ++i) { in foo() local
180 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
181 for (int i = 0; i < 10; ++i) in foo() local
185 for (int i = 0; i < 10; ++i) { in foo() local
186 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
192 for (int i = 0; i < 10; ++i) { in foo() local
193 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
199 for (int i = 0; i < 10; ++i) { in foo() local
200 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
206 for (int i = 0; i < 10; ++i) { in foo() local
207 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
213 for (int i = 0; i < 10; ++i) { in foo() local
214 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
220 for (int i = 0; i < 10; ++i) { in foo() local
221 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
222 for (int i = 0; i < 10; ++i) in foo() local
226 for (int i = 0; i < 10; ++i) { in foo() local
227 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
228 for (int i = 0; i < 10; ++i) in foo() local
232 for (int i = 0; i < 10; ++i) { in foo() local
233 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
239 for (int i = 0; i < 10; ++i) { in foo() local
240 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
246 for (int i = 0; i < 10; ++i) { in foo() local
247 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
251 for (int i = 0; i < 10; ++i) { in foo() local
252 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
256 for (int i = 0; i < 10; ++i) { in foo() local
257 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
261 for (int i = 0; i < 10; ++i) { in foo() local
262 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
266 for (int i = 0; i < 10; ++i) { in foo() local
267 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
271 for (int i = 0; i < 10; ++i) { in foo() local
276 for (int i = 0; i < 10; ++i) { in foo() local
277 #pragma omp ordered threads // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
281 for (int i = 0; i < 10; ++i) { in foo() local
282 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
286 for (int i = 0; i < 10; ++i) { in foo() local
287 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
291 for (int i = 0; i < 10; ++i) { in foo() local
292 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
296 for (int i = 0; i < 10; ++i) { in foo() local
297 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
298 for (int i = 0; i < 10; ++i) in foo() local
302 for (int i = 0; i < 10; ++i) { in foo() local
303 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
307 for (int i = 0; i < 10; ++i) { in foo() local
308 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
312 for (int i = 0; i < 10; ++i) { in foo() local
313 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
317 for (int i = 0; i < 10; ++i) { in foo() local
318 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
319 for (int i = 0; i < 10; ++i) in foo() local
323 for (int i = 0; i < 10; ++i) { in foo() local
324 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
329 for (int i = 0; i < 10; ++i) { in foo() local
330 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
333 for (int i = 0; i < 10; ++i) { in foo() local
334 #pragma omp distribute parallel for// expected-error {{OpenMP constructs may not be nested inside a… in foo()
339 for (int i = 0; i < 10; ++i) { in foo() local
340 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
345 for (int i = 0; i < 10; ++i) { in foo() local
346 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
353 for (int i = 0; i < 10; ++i) { in foo() local
354 #pragma omp for // expected-error {{region cannot be closely nested inside 'for' region; perhaps yo… in foo()
355 for (int i = 0; i < 10; ++i) in foo() local
359 for (int i = 0; i < 10; ++i) { in foo() local
361 for (int i = 0; i < 10; ++i) in foo() local
365 for (int i = 0; i < 10; ++i) { in foo() local
366 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'for' region; perha… in foo()
367 for (int i = 0; i < 10; ++i) in foo() local
371 for (int i = 0; i < 10; ++i) { in foo() local
373 for (int i = 0; i < 10; ++i) in foo() local
377 for (int i = 0; i < 10; ++i) { in foo() local
378 #pragma omp sections // expected-error {{region cannot be closely nested inside 'for' region; perha… in foo()
384 for (int i = 0; i < 10; ++i) { in foo() local
385 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
391 for (int i = 0; i < 10; ++i) { in foo() local
392 #pragma omp single // expected-error {{region cannot be closely nested inside 'for' region; perhaps… in foo()
399 for (int i = 0; i < 10; ++i) { in foo() local
400 #pragma omp master // expected-error {{region cannot be closely nested inside 'for' region}} in foo()
406 for (int i = 0; i < 10; ++i) { in foo() local
413 for (int i = 0; i < 10; ++i) { in foo() local
421 for (int i = 0; i < 10; ++i) in foo() local
430 for (int i = 0; i < 10; ++i) { in foo() local
432 for (int i = 0; i < 10; ++i) in foo() local
436 for (int i = 0; i < 10; ++i) { in foo() local
438 for (int i = 0; i < 10; ++i) in foo() local
442 for (int i = 0; i < 10; ++i) { in foo() local
449 for (int i = 0; i < 10; ++i) { in foo() local
456 for (int i = 0; i < 10; ++i) { in foo() local
461 for (int i = 0; i < 10; ++i) { in foo() local
462 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'for' region}} in foo()
466 for (int i = 0; i < 10; ++i) { in foo() local
471 for (int i = 0; i < 10; ++i) { in foo() local
476 for (int i = 0; i < 10; ++i) { in foo() local
477 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'for' region; perhap… in foo()
481 for (int i = 0; i < 10; ++i) { in foo() local
486 for (int i = 0; i < 10; ++i) { in foo() local
491 for (int i = 0; i < 10; ++i) { in foo() local
496 for (int i = 0; i < 10; ++i) { in foo() local
501 for (int i = 0; i < 10; ++i) { in foo() local
503 for (int i = 0; i < 10; ++i) in foo() local
507 for (int i = 0; i < 10; ++i) { in foo() local
512 for (int i = 0; i < 10; ++i) { in foo() local
517 for (int i = 0; i < 10; ++i) { in foo() local
518 #pragma omp teams // expected-error {{region cannot be closely nested inside 'for' region; perhaps … in foo()
522 for (int i = 0; i < 10; ++i) { in foo() local
524 for (int i = 0; i < 10; ++i) in foo() local
528 for (int i = 0; i < 10; ++i) { in foo() local
529 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'for' region; per… in foo()
534 for (int i = 0; i < 10; ++i) { in foo() local
538 for (int i = 0; i < 10; ++i) { in foo() local
539 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'for… in foo()
544 for (int i = 0; i < 10; ++i) { in foo() local
545 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
550 for (int i = 0; i < 10; ++i) { in foo() local
551 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'for' region… in foo()
558 for (int i = 0; i < 10; ++i) { in foo() local
559 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
560 for (int i = 0; i < 10; ++i) in foo() local
564 for (int i = 0; i < 10; ++i) { in foo() local
565 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
566 for (int i = 0; i < 10; ++i) in foo() local
570 for (int i = 0; i < 10; ++i) { in foo() local
571 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
572 for (int i = 0; i < 10; ++i) in foo() local
576 for (int i = 0; i < 10; ++i) { in foo() local
577 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
578 for (int i = 0; i < 10; ++i) in foo() local
582 for (int i = 0; i < 10; ++i) { in foo() local
583 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
589 for (int i = 0; i < 10; ++i) { in foo() local
590 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
596 for (int i = 0; i < 10; ++i) { in foo() local
597 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
603 for (int i = 0; i < 10; ++i) { in foo() local
604 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
610 for (int i = 0; i < 10; ++i) { in foo() local
611 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
617 for (int i = 0; i < 10; ++i) { in foo() local
618 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
619 for (int i = 0; i < 10; ++i) in foo() local
623 for (int i = 0; i < 10; ++i) { in foo() local
624 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
625 for (int i = 0; i < 10; ++i) in foo() local
629 for (int i = 0; i < 10; ++i) { in foo() local
630 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
636 for (int i = 0; i < 10; ++i) { in foo() local
637 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
643 for (int i = 0; i < 10; ++i) { in foo() local
644 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
648 for (int i = 0; i < 10; ++i) { in foo() local
649 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
653 for (int i = 0; i < 10; ++i) { in foo() local
654 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
658 for (int i = 0; i < 10; ++i) { in foo() local
659 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
663 for (int i = 0; i < 10; ++i) { in foo() local
664 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
668 for (int i = 0; i < 10; ++i) { in foo() local
673 for (int i = 0; i < 10; ++i) { in foo() local
674 #pragma omp ordered threads // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
678 for (int i = 0; i < 10; ++i) { in foo() local
679 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
683 for (int i = 0; i < 10; ++i) { in foo() local
684 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
688 for (int i = 0; i < 10; ++i) { in foo() local
689 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
693 for (int i = 0; i < 10; ++i) { in foo() local
694 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
695 for (int i = 0; i < 10; ++i) in foo() local
699 for (int i = 0; i < 10; ++i) { in foo() local
700 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
704 for (int i = 0; i < 10; ++i) { in foo() local
705 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
709 for (int i = 0; i < 10; ++i) { in foo() local
710 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
714 for (int i = 0; i < 10; ++i) { in foo() local
715 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
716 for (int i = 0; i < 10; ++i) in foo() local
720 for (int i = 0; i < 10; ++i) { in foo() local
721 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
726 for (int i = 0; i < 10; ++i) { in foo() local
727 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
731 for (int i = 0; i < 10; ++i) { in foo() local
732 #pragma omp distribute parallel for // expected-error {{OpenMP constructs may not be nested inside … in foo()
737 for (int i = 0; i < 10; ++i) { in foo() local
738 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
743 for (int i = 0; i < 10; ++i) { in foo() local
744 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
752 #pragma omp for // expected-error {{region cannot be closely nested inside 'sections' region; perha… in foo()
753 for (int i = 0; i < 10; ++i) in foo() local
759 for (int i = 0; i < 10; ++i) in foo() local
764 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'sections' region; … in foo()
765 for (int i = 0; i < 10; ++i) in foo() local
771 for (int i = 0; i < 10; ++i) in foo() local
776 #pragma omp sections // expected-error {{region cannot be closely nested inside 'sections' region; … in foo()
797 for (int i = 0; i < 10; ++i) in foo() local
814 for (int i = 0; i < 10; ++i) in foo() local
821 #pragma omp master // expected-error {{region cannot be closely nested inside 'sections' region}} in foo()
833 for (int i = 0; i < 10; ++i) in foo() local
840 #pragma omp critical(A) // expected-error {{statement in 'omp sections' directive must be enclosed … in foo()
846 for (int i = 0; i < 10; ++i) in foo() local
852 for (int i = 0; i < 10; ++i) in foo() local
875 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'sections' region}} in foo()
887 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'sections' region; p… in foo()
908 for (int i = 0; i < 10; ++i) in foo() local
921 #pragma omp teams // expected-error {{region cannot be closely nested inside 'sections' region; per… in foo()
927 for (int i = 0; i < 10; ++i) in foo() local
932 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'sections' region… in foo()
933 for (int i = 0; i < 10; ++i) in foo() local
942 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'sec… in foo()
943 for (int i = 0; i < 10; ++i) in foo() local
948 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
949 for (int i = 0; i < 10; ++i) in foo() local
954 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'sections' r… in foo()
955 for (int i = 0; i < 10; ++i) in foo() local
960 #pragma omp section // expected-error {{orphaned 'omp section' directives are prohibited, it must b… in foo()
968 #pragma omp for // expected-error {{region cannot be closely nested inside 'section' region; perhap… in foo()
969 for (int i = 0; i < 10; ++i) in foo() local
978 for (int i = 0; i < 10; ++i) in foo() local
986 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'section' region; p… in foo()
987 for (int i = 0; i < 10; ++i) in foo() local
996 for (int i = 0; i < 10; ++i) in foo() local
1004 #pragma omp sections // expected-error {{region cannot be closely nested inside 'section' region; p… in foo()
1014 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
1024 #pragma omp single // expected-error {{region cannot be closely nested inside 'section' region; per… in foo()
1026 #pragma omp master // expected-error {{region cannot be closely nested inside 'section' region}} in foo()
1043 for (int i = 0; i < 10; ++i) in foo() local
1046 for (int i = 0; i < 10; ++i) in foo() local
1060 for (int i = 0; i < 10; ++i) in foo() local
1069 for (int i = 0; i < 10; ++i) in foo() local
1105 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'section' region}} in foo()
1129 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'section' region; pe… in foo()
1156 for (int i = 0; i < 10; ++i) in foo() local
1179 #pragma omp teams // expected-error {{region cannot be closely nested inside 'section' region; perh… in foo()
1186 for (int i = 0; i < 10; ++i) in foo() local
1192 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'section' region;… in foo()
1193 for (int i = 0; i < 10; ++i) in foo() local
1207 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'sec… in foo()
1208 for (int i = 0; i < 10; ++i) in foo() local
1214 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
1215 for (int i = 0; i < 10; ++i) in foo() local
1221 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'section' re… in foo()
1222 for (int i = 0; i < 10; ++i) in foo() local
1229 #pragma omp for // expected-error {{region cannot be closely nested inside 'single' region; perhaps… in foo()
1230 for (int i = 0; i < 10; ++i) in foo() local
1236 for (int i = 0; i < 10; ++i) in foo() local
1241 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'single' region; pe… in foo()
1242 for (int i = 0; i < 10; ++i) in foo() local
1248 for (int i = 0; i < 10; ++i) in foo() local
1253 #pragma omp single // expected-error {{region cannot be closely nested inside 'single' region; perh… in foo()
1260 #pragma omp master // expected-error {{region cannot be closely nested inside 'single' region}} in foo()
1274 #pragma omp sections // expected-error {{region cannot be closely nested inside 'single' region; pe… in foo()
1288 for (int i = 0; i < 10; ++i) in foo() local
1291 for (int i = 0; i < 10; ++i) in foo() local
1302 for (int i = 0; i < 10; ++i) in foo() local
1308 for (int i = 0; i < 10; ++i) in foo() local
1332 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'single' region}} in foo()
1347 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'single' region; per… in foo()
1368 for (int i = 0; i < 10; ++i) in foo() local
1383 #pragma omp teams // expected-error {{region cannot be closely nested inside 'single' region; perha… in foo()
1389 for (int i = 0; i < 10; ++i) in foo() local
1394 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'single' region; … in foo()
1395 for (int i = 0; i < 10; ++i) in foo() local
1405 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'sin… in foo()
1406 for (int i = 0; i < 10; ++i) in foo() local
1411 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
1412 for (int i = 0; i < 10; ++i) in foo() local
1417 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'single' reg… in foo()
1418 for (int i = 0; i < 10; ++i) in foo() local
1425 #pragma omp for // expected-error {{region cannot be closely nested inside 'master' region; perhaps… in foo()
1426 for (int i = 0; i < 10; ++i) in foo() local
1432 for (int i = 0; i < 10; ++i) in foo() local
1437 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'master' region; pe… in foo()
1438 for (int i = 0; i < 10; ++i) in foo() local
1444 for (int i = 0; i < 10; ++i) in foo() local
1449 #pragma omp single // expected-error {{region cannot be closely nested inside 'master' region; perh… in foo()
1470 #pragma omp sections // expected-error {{region cannot be closely nested inside 'master' region; pe… in foo()
1484 for (int i = 0; i < 10; ++i) in foo() local
1487 for (int i = 0; i < 10; ++i) in foo() local
1498 for (int i = 0; i < 10; ++i) in foo() local
1504 for (int i = 0; i < 10; ++i) in foo() local
1528 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'master' region}} in foo()
1543 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'master' region; per… in foo()
1564 for (int i = 0; i < 10; ++i) in foo() local
1579 #pragma omp teams // expected-error {{region cannot be closely nested inside 'master' region; perha… in foo()
1585 for (int i = 0; i < 10; ++i) in foo() local
1590 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'master' region; … in foo()
1591 for (int i = 0; i < 10; ++i) in foo() local
1601 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'mas… in foo()
1602 for (int i = 0; i < 10; ++i) in foo() local
1607 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
1608 for (int i = 0; i < 10; ++i) in foo() local
1613 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'master' reg… in foo()
1614 for (int i = 0; i < 10; ++i) in foo() local
1621 #pragma omp for // expected-error {{region cannot be closely nested inside 'critical' region; perha… in foo()
1622 for (int i = 0; i < 10; ++i) in foo() local
1628 for (int i = 0; i < 10; ++i) in foo() local
1633 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'critical' region; … in foo()
1634 for (int i = 0; i < 10; ++i) in foo() local
1640 for (int i = 0; i < 10; ++i) in foo() local
1645 #pragma omp single // expected-error {{region cannot be closely nested inside 'critical' region; pe… in foo()
1666 #pragma omp sections // expected-error {{region cannot be closely nested inside 'critical' region; … in foo()
1680 for (int i = 0; i < 10; ++i) in foo() local
1683 for (int i = 0; i < 10; ++i) in foo() local
1694 for (int i = 0; i < 10; ++i) in foo() local
1700 for (int i = 0; i < 10; ++i) in foo() local
1724 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'critical' region}} in foo()
1737 #pragma omp critical(Belka) // expected-note {{previous 'critical' region starts here}} in foo()
1739 #pragma omp critical(Belka) // expected-error {{cannot nest 'critical' regions having the same name… in foo()
1753 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'critical' region; p… in foo()
1774 for (int i = 0; i < 10; ++i) in foo() local
1789 #pragma omp teams // expected-error {{region cannot be closely nested inside 'critical' region; per… in foo()
1795 for (int i = 0; i < 10; ++i) in foo() local
1800 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'critical' region… in foo()
1801 for (int i = 0; i < 10; ++i) in foo() local
1811 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'cri… in foo()
1812 for (int i = 0; i < 10; ++i) in foo() local
1817 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
1818 for (int i = 0; i < 10; ++i) in foo() local
1823 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'critical' r… in foo()
1824 for (int i = 0; i < 10; ++i) in foo() local
1830 for (int i = 0; i < 10; ++i) { in foo() local
1831 #pragma omp for // expected-error {{region cannot be closely nested inside 'parallel for' region; p… in foo()
1832 for (int i = 0; i < 10; ++i) in foo() local
1836 for (int i = 0; i < 10; ++i) { in foo() local
1838 for (int i = 0; i < 10; ++i) in foo() local
1842 for (int i = 0; i < 10; ++i) { in foo() local
1843 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'parallel for' regi… in foo()
1844 for (int i = 0; i < 10; ++i) in foo() local
1848 for (int i = 0; i < 10; ++i) { in foo() local
1850 for (int i = 0; i < 10; ++i) in foo() local
1854 for (int i = 0; i < 10; ++i) { in foo() local
1855 #pragma omp sections // expected-error {{region cannot be closely nested inside 'parallel for' regi… in foo()
1861 for (int i = 0; i < 10; ++i) { in foo() local
1862 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
1868 for (int i = 0; i < 10; ++i) { in foo() local
1869 #pragma omp single // expected-error {{region cannot be closely nested inside 'parallel for' region… in foo()
1876 for (int i = 0; i < 10; ++i) { in foo() local
1877 #pragma omp master // expected-error {{region cannot be closely nested inside 'parallel for' region… in foo()
1884 for (int i = 0; i < 10; ++i) { in foo() local
1892 for (int i = 0; i < 10; ++i) { in foo() local
1900 for (int i = 0; i < 10; ++i) in foo() local
1903 for (int i = 0; i < 10; ++i) in foo() local
1912 for (int i = 0; i < 10; ++i) { in foo() local
1914 for (int i = 0; i < 10; ++i) in foo() local
1918 for (int i = 0; i < 10; ++i) { in foo() local
1920 for (int i = 0; i < 10; ++i) in foo() local
1924 for (int i = 0; i < 10; ++i) { in foo() local
1931 for (int i = 0; i < 10; ++i) { in foo() local
1938 for (int i = 0; i < 10; ++i) { in foo() local
1943 for (int i = 0; i < 10; ++i) { in foo() local
1944 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'parallel for' regio… in foo()
1948 for (int i = 0; i < 10; ++i) { in foo() local
1953 for (int i = 0; i < 10; ++i) { in foo() local
1958 for (int i = 0; i < 10; ++i) { in foo() local
1959 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'parallel for' regio… in foo()
1963 for (int i = 0; i < 10; ++i) { in foo() local
1968 for (int i = 0; i < 10; ++i) { in foo() local
1973 for (int i = 0; i < 10; ++i) { in foo() local
1978 for (int i = 0; i < 10; ++i) { in foo() local
1983 for (int i = 0; i < 10; ++i) { in foo() local
1985 for (int i = 0; i < 10; ++i) in foo() local
1989 for (int i = 0; i < 10; ++i) { in foo() local
1994 for (int i = 0; i < 10; ++i) { in foo() local
1999 for (int i = 0; i < 10; ++i) { in foo() local
2000 #pragma omp teams // expected-error {{region cannot be closely nested inside 'parallel for' region;… in foo()
2004 for (int i = 0; i < 10; ++i) { in foo() local
2006 for (int i = 0; i < 10; ++i) in foo() local
2010 for (int i = 0; i < 10; ++i) { in foo() local
2011 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'parallel for' re… in foo()
2016 for (int i = 0; i < 10; ++i) { in foo() local
2020 for (int i = 0; i < 10; ++i) { in foo() local
2021 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'par… in foo()
2026 for (int i = 0; i < 10; ++i) { in foo() local
2027 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
2032 for (int i = 0; i < 10; ++i) { in foo() local
2033 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'parallel fo… in foo()
2040 for (int i = 0; i < 10; ++i) { in foo() local
2041 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2042 for (int i = 0; i < 10; ++i) in foo() local
2046 for (int i = 0; i < 10; ++i) { in foo() local
2047 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
2048 for (int i = 0; i < 10; ++i) in foo() local
2052 for (int i = 0; i < 10; ++i) { in foo() local
2053 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2054 for (int i = 0; i < 10; ++i) in foo() local
2058 for (int i = 0; i < 10; ++i) { in foo() local
2059 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2060 for (int i = 0; i < 10; ++i) in foo() local
2064 for (int i = 0; i < 10; ++i) { in foo() local
2065 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2071 for (int i = 0; i < 10; ++i) { in foo() local
2072 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2078 for (int i = 0; i < 10; ++i) { in foo() local
2079 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2086 for (int i = 0; i < 10; ++i) { in foo() local
2087 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2094 for (int i = 0; i < 10; ++i) { in foo() local
2095 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2102 for (int i = 0; i < 10; ++i) { in foo() local
2103 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2110 for (int i = 0; i < 10; ++i) in foo() local
2113 for (int i = 0; i < 10; ++i) in foo() local
2122 for (int i = 0; i < 10; ++i) { in foo() local
2123 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
2124 for (int i = 0; i < 10; ++i) in foo() local
2128 for (int i = 0; i < 10; ++i) { in foo() local
2129 #pragma omp parallel for simd// expected-error {{OpenMP constructs may not be nested inside a simd … in foo()
2130 for (int i = 0; i < 10; ++i) in foo() local
2134 for (int i = 0; i < 10; ++i) { in foo() local
2135 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
2141 for (int i = 0; i < 10; ++i) { in foo() local
2142 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2148 for (int i = 0; i < 10; ++i) { in foo() local
2149 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2153 for (int i = 0; i < 10; ++i) { in foo() local
2154 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2158 for (int i = 0; i < 10; ++i) { in foo() local
2159 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2163 for (int i = 0; i < 10; ++i) { in foo() local
2164 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2168 for (int i = 0; i < 10; ++i) { in foo() local
2169 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2173 for (int i = 0; i < 10; ++i) { in foo() local
2174 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2178 for (int i = 0; i < 10; ++i) { in foo() local
2179 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2183 for (int i = 0; i < 10; ++i) { in foo() local
2184 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2188 for (int i = 0; i < 10; ++i) { in foo() local
2189 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
2193 for (int i = 0; i < 10; ++i) { in foo() local
2194 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
2195 for (int i = 0; i < 10; ++i) in foo() local
2199 for (int i = 0; i < 10; ++i) { in foo() local
2200 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
2204 for (int i = 0; i < 10; ++i) { in foo() local
2205 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
2209 for (int i = 0; i < 10; ++i) { in foo() local
2210 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2214 for (int i = 0; i < 10; ++i) { in foo() local
2215 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2216 for (int i = 0; i < 10; ++i) in foo() local
2220 for (int i = 0; i < 10; ++i) { in foo() local
2221 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
2226 for (int i = 0; i < 10; ++i) { in foo() local
2227 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
2231 for (int i = 0; i < 10; ++i) { in foo() local
2232 #pragma omp distribute parallel for // expected-error {{OpenMP constructs may not be nested inside … in foo()
2237 for (int i = 0; i < 10; ++i) { in foo() local
2238 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
2243 for (int i = 0; i < 10; ++i) { in foo() local
2244 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
2252 #pragma omp for // expected-error {{region cannot be closely nested inside 'parallel sections' regi… in foo()
2253 for (int i = 0; i < 10; ++i) in foo() local
2259 for (int i = 0; i < 10; ++i) in foo() local
2264 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'parallel sections'… in foo()
2265 for (int i = 0; i < 10; ++i) in foo() local
2271 for (int i = 0; i < 10; ++i) in foo() local
2276 #pragma omp sections // expected-error {{region cannot be closely nested inside 'parallel sections'… in foo()
2292 #pragma omp single // expected-error {{region cannot be closely nested inside 'section' region; per… in foo()
2300 #pragma omp master // expected-error {{region cannot be closely nested inside 'section' region}} in foo()
2321 for (int i = 0; i < 10; ++i) in foo() local
2324 for (int i = 0; i < 10; ++i) in foo() local
2335 for (int i = 0; i < 10; ++i) in foo() local
2341 for (int i = 0; i < 10; ++i) in foo() local
2364 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'parallel sections' … in foo()
2376 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'parallel sections' … in foo()
2397 for (int i = 0; i < 10; ++i) in foo() local
2410 #pragma omp teams // expected-error {{region cannot be closely nested inside 'parallel sections' re… in foo()
2416 for (int i = 0; i < 10; ++i) in foo() local
2421 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'parallel section… in foo()
2422 for (int i = 0; i < 10; ++i) in foo() local
2431 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'par… in foo()
2432 for (int i = 0; i < 10; ++i) in foo() local
2437 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
2438 for (int i = 0; i < 10; ++i) in foo() local
2443 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'parallel se… in foo()
2444 for (int i = 0; i < 10; ++i) in foo() local
2450 #pragma omp for // expected-error {{region cannot be closely nested inside 'task' region; perhaps y… in foo()
2451 for (int i = 0; i < 10; ++i) in foo() local
2455 for (int i = 0; i < 10; ++i) in foo() local
2458 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'task' region; perh… in foo()
2459 for (int i = 0; i < 10; ++i) in foo() local
2462 #pragma omp sections // expected-error {{region cannot be closely nested inside 'task' region; perh… in foo()
2467 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
2472 #pragma omp single // expected-error {{region cannot be closely nested inside 'task' region; perhap… in foo()
2475 #pragma omp master // expected-error {{region cannot be closely nested inside 'task' region}} in foo()
2483 for (int i = 0; i < 10; ++i) in foo() local
2487 for (int i = 0; i < 10; ++i) in foo() local
2506 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'task' region}} in foo()
2521 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'task' region; perha… in foo()
2541 for (int i = 0; i < 10; ++i) in foo() local
2555 #pragma omp teams // expected-error {{region cannot be closely nested inside 'task' region; perhaps… in foo()
2561 for (int i = 0; i < 10; ++i) in foo() local
2566 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'task' region; pe… in foo()
2567 for (int i = 0; i < 10; ++i) in foo() local
2577 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tas… in foo()
2578 for (int i = 0; i < 10; ++i) in foo() local
2583 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
2584 for (int i = 0; i < 10; ++i) in foo() local
2589 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'task' regio… in foo()
2590 for (int i = 0; i < 10; ++i) in foo() local
2597 #pragma omp for // expected-error {{region cannot be closely nested inside 'ordered' region; perhap… in foo()
2598 for (int i = 0; i < 10; ++i) in foo() local
2604 for (int i = 0; i < 10; ++i) in foo() local
2609 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'ordered' region; p… in foo()
2610 for (int i = 0; i < 10; ++i) in foo() local
2616 for (int i = 0; i < 10; ++i) in foo() local
2621 #pragma omp single // expected-error {{region cannot be closely nested inside 'ordered' region; per… in foo()
2642 #pragma omp sections // expected-error {{region cannot be closely nested inside 'ordered' region; p… in foo()
2661 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
2680 for (int i = 0; i < 10; ++i) in foo() local
2686 for (int i = 0; i < 10; ++i) in foo() local
2710 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'ordered' region}} in foo()
2725 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'ordered' region; pe… in foo()
2756 for (int i = 0; i < 10; ++i) in foo() local
2771 #pragma omp teams // expected-error {{region cannot be closely nested inside 'ordered' region; perh… in foo()
2777 for (int i = 0; i < 10; ++i) in foo() local
2782 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'ordered' region;… in foo()
2783 for (int i = 0; i < 10; ++i) in foo() local
2794 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'ord… in foo()
2795 for (int i = 0; i < 10; ++i) in foo() local
2800 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
2801 for (int i = 0; i < 10; ++i) in foo() local
2806 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'ordered' re… in foo()
2807 for (int i = 0; i < 10; ++i) in foo() local
2813 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2814 // expected-note@+1 {{expected an expression statement}} in foo()
2816 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2817 for (int i = 0; i < 10; ++i) in foo() local
2821 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2822 // expected-note@+1 {{expected an expression statement}} in foo()
2824 #pragma omp simd // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2825 for (int i = 0; i < 10; ++i) in foo() local
2829 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2830 // expected-note@+1 {{expected an expression statement}} in foo()
2832 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
2833 for (int i = 0; i < 10; ++i) in foo() local
2837 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2838 // expected-note@+1 {{expected an expression statement}} in foo()
2840 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
2841 for (int i = 0; i < 10; ++i) in foo() local
2845 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2846 // expected-note@+1 {{expected an expression statement}} in foo()
2848 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
2854 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2855 // expected-note@+1 {{expected an expression statement}} in foo()
2857 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside an atomic region… in foo()
2863 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2864 // expected-note@+1 {{expected an expression statement}} in foo()
2866 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2872 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2873 // expected-note@+1 {{expected an expression statement}} in foo()
2875 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2881 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2882 // expected-note@+1 {{expected an expression statement}} in foo()
2884 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
2890 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2891 // expected-note@+1 {{expected an expression statement}} in foo()
2893 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside an atomic r… in foo()
2894 for (int i = 0; i < 10; ++i) in foo() local
2898 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2899 // expected-note@+1 {{expected an expression statement}} in foo()
2901 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside an ato… in foo()
2902 for (int i = 0; i < 10; ++i) in foo() local
2906 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2907 // expected-note@+1 {{expected an expression statement}} in foo()
2909 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside an ato… in foo()
2915 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2916 // expected-note@+1 {{expected an expression statement}} in foo()
2918 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2924 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2925 // expected-note@+1 {{expected an expression statement}} in foo()
2927 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside an atomic regi… in foo()
2931 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2932 // expected-note@+1 {{expected an expression statement}} in foo()
2934 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside an atomic region… in foo()
2938 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2939 // expected-note@+1 {{expected an expression statement}} in foo()
2941 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
2945 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2946 // expected-note@+1 {{expected an expression statement}} in foo()
2948 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2952 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2953 // expected-note@+1 {{expected an expression statement}} in foo()
2955 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside an atomic region… in foo()
2959 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2960 // expected-note@+1 {{expected an expression statement}} in foo()
2962 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2966 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2967 // expected-note@+1 {{expected an expression statement}} in foo()
2969 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
2973 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2974 // expected-note@+1 {{expected an expression statement}} in foo()
2976 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside an atomi… in foo()
2980 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2981 // expected-note@+1 {{expected an expression statement}} in foo()
2983 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside an a… in foo()
2984 for (int i = 0; i < 10; ++i) in foo() local
2988 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2989 // expected-note@+1 {{expected an expression statement}} in foo()
2991 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
2995 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
2996 // expected-note@+1 {{expected an expression statement}} in foo()
2998 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
3002 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
3003 // expected-note@+1 {{expected an expression statement}} in foo()
3005 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
3009 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
3010 // expected-note@+1 {{expected an expression statement}} in foo()
3012 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
3013 for (int i = 0; i < 10; ++i) in foo() local
3017 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
3018 // expected-note@+1 {{expected an expression statement}} in foo()
3020 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside an atomic reg… in foo()
3021 for (int i = 0; i < 10; ++i) in foo() local
3025 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
3026 // expected-note@+1 {{expected an expression statement}} in foo()
3028 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside an a… in foo()
3032 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
3033 // expected-note@+1 {{expected an expression statement}} in foo()
3035 #pragma omp distribute parallel for // expected-error {{OpenMP constructs may not be nested inside … in foo()
3036 for (int i = 0; i < 10; ++i) in foo() local
3040 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
3041 // expected-note@+1 {{expected an expression statement}} in foo()
3043 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
3044 for (int i = 0; i < 10; ++i) in foo() local
3048 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
3049 // expected-note@+1 {{expected an expression statement}} in foo()
3051 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside an atomi… in foo()
3052 for (int i = 0; i < 10; ++i) in foo() local
3062 for (int i = 0; i < 10; ++i) in foo() local
3066 for (int i = 0; i < 10; ++i) in foo() local
3070 for (int i = 0; i < 10; ++i) in foo() local
3078 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
3098 for (int i = 0; i < 10; ++i) in foo() local
3102 for (int i = 0; i < 10; ++i) in foo() local
3136 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'target' region; per… in foo()
3146 #pragma omp target // expected-error {{region cannot be nested inside 'target' region}} in foo()
3151 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
3155 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
3156 for (int i = 0; i < 10; ++i) in foo() local
3163 #pragma omp target // expected-error {{target construct with nested teams region contains statement… in foo()
3165 ++a; // expected-note {{statement outside teams construct here}} in foo()
3166 #pragma omp teams // expected-note {{nested teams construct here}} in foo()
3169 #pragma omp target // expected-error {{target construct with nested teams region contains statement… in foo()
3171 while (0) // expected-note {{statement outside teams construct here}} in foo()
3172 #pragma omp teams // expected-note {{nested teams construct here}} in foo()
3178 for (int i = 0; i < 10; ++i) in foo() local
3183 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'target' region; … in foo()
3184 for (int i = 0; i < 10; ++i) in foo() local
3189 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
3193 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
3197 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target' region}} in foo()
3201 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tar… in foo()
3202 for (int i = 0; i < 10; ++i) in foo() local
3207 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
3208 for (int i = 0; i < 10; ++i) in foo() local
3213 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'target' reg… in foo()
3214 for (int i = 0; i < 10; ++i) in foo() local
3224 for (int i = 0; i < 10; ++i) in foo() local
3228 for (int i = 0; i < 10; ++i) in foo() local
3232 for (int i = 0; i < 10; ++i) in foo() local
3240 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
3260 for (int i = 0; i < 10; ++i) in foo() local
3264 for (int i = 0; i < 10; ++i) in foo() local
3298 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'target parallel' re… in foo()
3308 #pragma omp target // expected-error {{region cannot be nested inside 'target parallel' region}} in foo()
3313 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target parallel' re… in foo()
3317 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target parallel… in foo()
3318 for (int i = 0; i < 10; ++i) in foo() local
3322 #pragma omp teams // expected-error {{region cannot be closely nested inside 'target parallel' regi… in foo()
3328 #pragma omp teams // expected-error {{region cannot be closely nested inside 'target parallel' reg… in foo()
3334 for (int i = 0; i < 10; ++i) in foo() local
3339 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'target parallel'… in foo()
3340 for (int i = 0; i < 10; ++i) in foo() local
3345 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
3349 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
3353 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target parallel… in foo()
3357 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tar… in foo()
3358 for (int i = 0; i < 10; ++i) in foo() local
3363 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
3364 for (int i = 0; i < 10; ++i) in foo() local
3369 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'target para… in foo()
3370 for (int i = 0; i < 10; ++i) in foo() local
3376 for (int i = 0; i < 10; ++i) { in foo() local
3377 #pragma omp for // expected-error {{region cannot be closely nested inside 'target parallel for' re… in foo()
3378 for (int i = 0; i < 10; ++i) in foo() local
3382 for (int i = 0; i < 10; ++i) { in foo() local
3384 for (int i = 0; i < 10; ++i) in foo() local
3388 for (int i = 0; i < 10; ++i) { in foo() local
3389 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'target parallel fo… in foo()
3390 for (int i = 0; i < 10; ++i) in foo() local
3394 for (int i = 0; i < 10; ++i) { in foo() local
3396 for (int i = 0; i < 10; ++i) in foo() local
3400 for (int i = 0; i < 10; ++i) { in foo() local
3401 #pragma omp sections // expected-error {{region cannot be closely nested inside 'target parallel fo… in foo()
3407 for (int i = 0; i < 10; ++i) { in foo() local
3408 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
3414 for (int i = 0; i < 10; ++i) { in foo() local
3415 #pragma omp single // expected-error {{region cannot be closely nested inside 'target parallel for'… in foo()
3422 for (int i = 0; i < 10; ++i) { in foo() local
3423 #pragma omp master // expected-error {{region cannot be closely nested inside 'target parallel for'… in foo()
3430 for (int i = 0; i < 10; ++i) { in foo() local
3438 for (int i = 0; i < 10; ++i) { in foo() local
3446 for (int i = 0; i < 10; ++i) in foo() local
3449 for (int i = 0; i < 10; ++i) in foo() local
3458 for (int i = 0; i < 10; ++i) { in foo() local
3460 for (int i = 0; i < 10; ++i) in foo() local
3464 for (int i = 0; i < 10; ++i) { in foo() local
3466 for (int i = 0; i < 10; ++i) in foo() local
3470 for (int i = 0; i < 10; ++i) { in foo() local
3477 for (int i = 0; i < 10; ++i) { in foo() local
3484 for (int i = 0; i < 10; ++i) { in foo() local
3489 for (int i = 0; i < 10; ++i) { in foo() local
3490 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'target parallel for… in foo()
3494 for (int i = 0; i < 10; ++i) { in foo() local
3499 for (int i = 0; i < 10; ++i) { in foo() local
3504 for (int i = 0; i < 10; ++i) { in foo() local
3505 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'target parallel for… in foo()
3509 for (int i = 0; i < 10; ++i) { in foo() local
3514 for (int i = 0; i < 10; ++i) { in foo() local
3519 for (int i = 0; i < 10; ++i) { in foo() local
3520 #pragma omp target // expected-error {{region cannot be nested inside 'target parallel for' region}} in foo()
3524 for (int i = 0; i < 10; ++i) { in foo() local
3525 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target parallel for… in foo()
3529 for (int i = 0; i < 10; ++i) { in foo() local
3530 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target parallel… in foo()
3531 for (int i = 0; i < 10; ++i) in foo() local
3535 for (int i = 0; i < 10; ++i) { in foo() local
3536 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
3540 for (int i = 0; i < 10; ++i) { in foo() local
3541 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
3545 for (int i = 0; i < 10; ++i) { in foo() local
3546 #pragma omp teams // expected-error {{region cannot be closely nested inside 'target parallel for' … in foo()
3550 for (int i = 0; i < 10; ++i) { in foo() local
3552 for (int i = 0; i < 10; ++i) in foo() local
3556 for (int i = 0; i < 10; ++i) { in foo() local
3557 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'target parallel … in foo()
3562 for (int i = 0; i < 10; ++i) { in foo() local
3563 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target parallel… in foo()
3566 for (int i = 0; i < 10; ++i) { in foo() local
3567 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tar… in foo()
3572 for (int i = 0; i < 10; ++i) { in foo() local
3573 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
3578 for (int i = 0; i < 10; ++i) { in foo() local
3579 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'target para… in foo()
3591 #pragma omp for // expected-error {{region cannot be closely nested inside 'teams' region; perhaps … in foo()
3592 for (int i = 0; i < 10; ++i) in foo() local
3596 #pragma omp simd // expected-error {{region cannot be closely nested inside 'teams' region; perhaps… in foo()
3597 for (int i = 0; i < 10; ++i) in foo() local
3601 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
3602 for (int i = 0; i < 10; ++i) in foo() local
3606 #pragma omp sections // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
3612 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
3618 #pragma omp single // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
3623 #pragma omp master // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
3629 #pragma omp critical // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
3636 for (int i = 0; i < 10; ++i) in foo() local
3641 for (int i = 0; i < 10; ++i) in foo() local
3651 #pragma omp task // expected-error {{region cannot be closely nested inside 'teams' region; perhaps… in foo()
3658 #pragma omp taskyield // expected-error {{region cannot be closely nested inside 'teams' region; pe… in foo()
3664 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'teams' region; perh… in foo()
3670 #pragma omp taskwait // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
3676 #pragma omp flush // expected-error {{region cannot be closely nested inside 'teams' region; perhap… in foo()
3682 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'teams' region; perh… in foo()
3688 #pragma omp atomic // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
3694 #pragma omp target // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
3700 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
3705 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
3706 for (int i = 0; i < 10; ++i) in foo() local
3711 #pragma omp target enter data map(to: a) // expected-error {{region cannot be closely nested inside… in foo()
3717 #pragma omp target exit data map(from: a) // expected-error {{region cannot be closely nested insid… in foo()
3723 #pragma omp teams // expected-error {{region cannot be closely nested inside 'teams' region; perhap… in foo()
3729 #pragma omp taskloop // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
3730 for (int i = 0; i < 10; ++i) in foo() local
3736 for (int i = 0; i < 10; ++i) in foo() local
3741 for (int i = 0; i < 10; ++i) in foo() local
3749 #pragma omp target update to(a) // expected-error {{region cannot be closely nested inside 'teams' … in foo()
3755 for (int i = 0; i < 10; ++i) in foo() local
3765 for (int i = 0; i < 10; ++i) in foo() local
3775 for (int i = 0; i < 10; ++i) in foo() local
3784 for (int i = 0; i < 10; ++i) { in foo() local
3785 #pragma omp for // expected-error {{region cannot be closely nested inside 'taskloop' region; perha… in foo()
3786 for (int i = 0; i < 10; ++i) in foo() local
3790 for (int i = 0; i < 10; ++i) { in foo() local
3792 for (int i = 0; i < 10; ++i) in foo() local
3796 for (int i = 0; i < 10; ++i) { in foo() local
3797 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'taskloop' region; … in foo()
3798 for (int i = 0; i < 10; ++i) in foo() local
3802 for (int i = 0; i < 10; ++i) { in foo() local
3804 for (int i = 0; i < 10; ++i) in foo() local
3808 for (int i = 0; i < 10; ++i) { in foo() local
3809 #pragma omp sections // expected-error {{region cannot be closely nested inside 'taskloop' region; … in foo()
3815 for (int i = 0; i < 10; ++i) { in foo() local
3816 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
3822 for (int i = 0; i < 10; ++i) { in foo() local
3823 #pragma omp single // expected-error {{region cannot be closely nested inside 'taskloop' region; pe… in foo()
3830 for (int i = 0; i < 10; ++i) { in foo() local
3831 #pragma omp master // expected-error {{region cannot be closely nested inside 'taskloop' region}} in foo()
3837 for (int i = 0; i < 10; ++i) { in foo() local
3844 for (int i = 0; i < 10; ++i) { in foo() local
3852 for (int i = 0; i < 10; ++i) in foo() local
3861 for (int i = 0; i < 10; ++i) { in foo() local
3863 for (int i = 0; i < 10; ++i) in foo() local
3867 for (int i = 0; i < 10; ++i) { in foo() local
3869 for (int i = 0; i < 10; ++i) in foo() local
3873 for (int i = 0; i < 10; ++i) { in foo() local
3880 for (int i = 0; i < 10; ++i) { in foo() local
3887 for (int i = 0; i < 10; ++i) { in foo() local
3892 for (int i = 0; i < 10; ++i) { in foo() local
3893 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'taskloop' region}} in foo()
3897 for (int i = 0; i < 10; ++i) { in foo() local
3902 for (int i = 0; i < 10; ++i) { in foo() local
3907 for (int i = 0; i < 10; ++i) { in foo() local
3908 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'taskloop' region; p… in foo()
3912 for (int i = 0; i < 10; ++i) { in foo() local
3917 for (int i = 0; i < 10; ++i) { in foo() local
3922 for (int i = 0; i < 10; ++i) { in foo() local
3927 for (int i = 0; i < 10; ++i) { in foo() local
3929 for (int i = 0; i < 10; ++i) in foo() local
3933 for (int i = 0; i < 10; ++i) { in foo() local
3938 for (int i = 0; i < 10; ++i) { in foo() local
3943 for (int i = 0; i < 10; ++i) { in foo() local
3944 #pragma omp teams // expected-error {{region cannot be closely nested inside 'taskloop' region; per… in foo()
3948 for (int i = 0; i < 10; ++i) { in foo() local
3950 for (int i = 0; i < 10; ++i) in foo() local
3954 for (int i = 0; i < 10; ++i) { in foo() local
3959 for (int i = 0; i < 10; ++i) { in foo() local
3960 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'taskloop' region… in foo()
3965 for (int i = 0; i < 10; ++i) { in foo() local
3966 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tas… in foo()
3971 for (int i = 0; i < 10; ++i) { in foo() local
3972 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
3977 for (int i = 0; i < 10; ++i) { in foo() local
3978 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'taskloop' r… in foo()
3987 for (int i = 0; i < 10; ++i) { in foo() local
3988 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'distribute' regi… in foo()
3989 for (int i = 0; i < 10; ++i) in foo() local
3995 for (int i = 0; i < 10; ++i) { in foo() local
3997 for (int i = 0; i < 10; ++i) in foo() local
4003 for (int i = 0; i < 10; ++i) { in foo() local
4005 for (int i = 0; i < 10; ++i) in foo() local
4011 for (int i = 0; i < 10; ++i) { in foo() local
4013 for (int i = 0; i < 10; ++i) in foo() local
4019 for (int i = 0; i < 10; ++i) { in foo() local
4021 for (int i = 0; i < 10; ++i) in foo() local
4027 for (int i = 0; i < 10; ++i) { in foo() local
4036 for (int i = 0; i < 10; ++i) { in foo() local
4037 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
4045 for (int i = 0; i < 10; ++i) { in foo() local
4054 for (int i = 0; i < 10; ++i) { in foo() local
4063 for (int i = 0; i < 10; ++i) { in foo() local
4072 for (int i = 0; i < 10; ++i) { in foo() local
4084 for (int i = 0; i < 10; ++i) { in foo() local
4086 for (int i = 0; i < 10; ++i) in foo() local
4092 for (int i = 0; i < 10; ++i) { in foo() local
4094 for (int i = 0; i < 10; ++i) in foo() local
4100 for (int i = 0; i < 10; ++i) { in foo() local
4109 for (int i = 0; i < 10; ++i) { in foo() local
4118 for (int i = 0; i < 10; ++i) { in foo() local
4125 for (int i = 0; i < 10; ++i) { in foo() local
4132 for (int i = 0; i < 10; ++i) { in foo() local
4139 for (int i = 0; i < 10; ++i) { in foo() local
4146 for (int i = 0; i < 10; ++i) { in foo() local
4147 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'distribute' region;… in foo()
4153 for (int i = 0; i < 10; ++i) { in foo() local
4160 for (int i = 0; i < 10; ++i) { in foo() local
4161 #pragma omp target // expected-error {{region cannot be nested inside 'target' region}} in foo()
4167 for (int i = 0; i < 10; ++i) { in foo() local
4168 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
4174 for (int i = 0; i < 10; ++i) { in foo() local
4175 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
4176 for (int i = 0; i < 10; ++i) in foo() local
4182 for (int i = 0; i < 10; ++i) { in foo() local
4183 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
4189 for (int i = 0; i < 10; ++i) { in foo() local
4190 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
4196 for (int i = 0; i < 10; ++i) { in foo() local
4197 #pragma omp teams // expected-error {{region cannot be closely nested inside 'distribute' region; p… in foo()
4203 for (int i = 0; i < 10; ++i) { in foo() local
4204 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target' region}} in foo()
4212 for (int i = 0; i < 10; ++i) { in foo() local
4213 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'dis… in foo()
4214 for (int i = 0; i < 10; ++i) in foo() local
4220 for (int i = 0; i < 10; ++i) { in foo() local
4221 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'distribute paral… in foo()
4222 for (int i = 0; i < 10; ++i) in foo() local
4228 for (int i = 0; i < 10; ++i) { in foo() local
4229 #pragma omp for // expected-error {{region cannot be closely nested inside 'distribute parallel for… in foo()
4230 for (int i = 0; i < 10; ++i) in foo() local
4236 for (int i = 0; i < 10; ++i) { in foo() local
4238 for (int i = 0; i < 10; ++i) in foo() local
4244 for (int i = 0; i < 10; ++i) { in foo() local
4245 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'distribute paralle… in foo()
4246 for (int i = 0; i < 10; ++i) in foo() local
4252 for (int i = 0; i < 10; ++i) { in foo() local
4254 for (int i = 0; i < 10; ++i) in foo() local
4260 for (int i = 0; i < 10; ++i) { in foo() local
4261 #pragma omp sections // expected-error {{region cannot be closely nested inside 'distribute paralle… in foo()
4269 for (int i = 0; i < 10; ++i) { in foo() local
4270 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
4278 for (int i = 0; i < 10; ++i) { in foo() local
4279 #pragma omp single // expected-error {{region cannot be closely nested inside 'distribute parallel … in foo()
4287 for (int i = 0; i < 10; ++i) { in foo() local
4288 #pragma omp master // expected-error {{region cannot be closely nested inside 'distribute parallel … in foo()
4296 for (int i = 0; i < 10; ++i) { in foo() local
4305 for (int i = 0; i < 10; ++i) { in foo() local
4317 for (int i = 0; i < 10; ++i) { in foo() local
4319 for (int i = 0; i < 10; ++i) in foo() local
4325 for (int i = 0; i < 10; ++i) { in foo() local
4327 for (int i = 0; i < 10; ++i) in foo() local
4333 for (int i = 0; i < 10; ++i) { in foo() local
4342 for (int i = 0; i < 10; ++i) { in foo() local
4351 for (int i = 0; i < 10; ++i) { in foo() local
4358 for (int i = 0; i < 10; ++i) { in foo() local
4359 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'distribute parallel… in foo()
4365 for (int i = 0; i < 10; ++i) { in foo() local
4372 for (int i = 0; i < 10; ++i) { in foo() local
4379 for (int i = 0; i < 10; ++i) { in foo() local
4380 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'distribute parallel… in foo()
4386 for (int i = 0; i < 10; ++i) { in foo() local
4393 for (int i = 0; i < 10; ++i) { in foo() local
4394 #pragma omp target // expected-error {{region cannot be nested inside 'target' region}} in foo()
4400 for (int i = 0; i < 10; ++i) { in foo() local
4401 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
4407 for (int i = 0; i < 10; ++i) { in foo() local
4408 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
4409 for (int i = 0; i < 10; ++i) in foo() local
4415 for (int i = 0; i < 10; ++i) { in foo() local
4416 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
4422 for (int i = 0; i < 10; ++i) { in foo() local
4423 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
4429 for (int i = 0; i < 10; ++i) { in foo() local
4430 #pragma omp teams // expected-error {{region cannot be closely nested inside 'distribute parallel f… in foo()
4436 for (int i = 0; i < 10; ++i) { in foo() local
4437 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target' region}} in foo()
4443 for (int i = 0; i < 10; ++i) { in foo() local
4444 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'distribute … in foo()
4445 for (int i = 0; i < 10; ++i) in foo() local
4453 for (int i = 0; i < 10; ++i) { in foo() local
4454 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
4455 for (int i = 0; i < 10; ++i) in foo() local
4461 for (int i = 0; i < 10; ++i) { in foo() local
4462 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
4463 for (int i = 0; i < 10; ++i) in foo() local
4469 for (int i = 0; i < 10; ++i) { in foo() local
4470 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4471 for (int i = 0; i < 10; ++i) in foo() local
4477 for (int i = 0; i < 10; ++i) { in foo() local
4478 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
4479 for (int i = 0; i < 10; ++i) in foo() local
4485 for (int i = 0; i < 10; ++i) { in foo() local
4486 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4487 for (int i = 0; i < 10; ++i) in foo() local
4493 for (int i = 0; i < 10; ++i) { in foo() local
4494 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4495 for (int i = 0; i < 10; ++i) in foo() local
4501 for (int i = 0; i < 10; ++i) { in foo() local
4502 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4510 for (int i = 0; i < 10; ++i) { in foo() local
4511 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4519 for (int i = 0; i < 10; ++i) { in foo() local
4520 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4528 for (int i = 0; i < 10; ++i) { in foo() local
4529 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4537 for (int i = 0; i < 10; ++i) { in foo() local
4538 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4546 for (int i = 0; i < 10; ++i) { in foo() local
4547 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4558 for (int i = 0; i < 10; ++i) { in foo() local
4559 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
4560 for (int i = 0; i < 10; ++i) in foo() local
4566 for (int i = 0; i < 10; ++i) { in foo() local
4567 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
4568 for (int i = 0; i < 10; ++i) in foo() local
4574 for (int i = 0; i < 10; ++i) { in foo() local
4575 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
4583 for (int i = 0; i < 10; ++i) { in foo() local
4584 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4592 for (int i = 0; i < 10; ++i) { in foo() local
4593 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4599 for (int i = 0; i < 10; ++i) { in foo() local
4600 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4606 for (int i = 0; i < 10; ++i) { in foo() local
4607 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4613 for (int i = 0; i < 10; ++i) { in foo() local
4614 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4620 for (int i = 0; i < 10; ++i) { in foo() local
4621 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4627 for (int i = 0; i < 10; ++i) { in foo() local
4628 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4634 for (int i = 0; i < 10; ++i) { in foo() local
4635 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4641 for (int i = 0; i < 10; ++i) { in foo() local
4642 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd … in foo()
4648 for (int i = 0; i < 10; ++i) { in foo() local
4649 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
4650 for (int i = 0; i < 10; ++i) in foo() local
4656 for (int i = 0; i < 10; ++i) { in foo() local
4657 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
4663 for (int i = 0; i < 10; ++i) { in foo() local
4664 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
4670 for (int i = 0; i < 10; ++i) { in foo() local
4671 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4677 for (int i = 0; i < 10; ++i) { in foo() local
4678 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
4684 for (int i = 0; i < 10; ++i) { in foo() local
4685 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
4686 for (int i = 0; i < 10; ++i) in foo() local
4696 for (int i = 0; i < 10; ++i) in foo() local
4700 for (int i = 0; i < 10; ++i) in foo() local
4704 for (int i = 0; i < 10; ++i) in foo() local
4712 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
4732 for (int i = 0; i < 10; ++i) in foo() local
4736 for (int i = 0; i < 10; ++i) in foo() local
4770 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'parallel' region; p… in foo()
4790 for (int i = 0; i < 10; ++i) in foo() local
4804 #pragma omp teams // expected-error {{region cannot be closely nested inside 'parallel' region; per… in foo()
4810 for (int i = 0; i < 10; ++i) in foo() local
4815 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'parallel' region… in foo()
4816 for (int i = 0; i < 10; ++i) in foo() local
4826 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'par… in foo()
4827 for (int i = 0; i < 10; ++i) in foo() local
4832 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
4833 for (int i = 0; i < 10; ++i) in foo() local
4838 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'parallel' r… in foo()
4839 for (int i = 0; i < 10; ++i) in foo() local
4845 for (int i = 0; i < 10; ++i) { in foo() local
4846 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4847 for (int i = 0; i < 10; ++i) in foo() local
4851 for (int i = 0; i < 10; ++i) { in foo() local
4852 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
4853 for (int i = 0; i < 10; ++i) in foo() local
4857 for (int i = 0; i < 10; ++i) { in foo() local
4858 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4859 for (int i = 0; i < 10; ++i) in foo() local
4863 for (int i = 0; i < 10; ++i) { in foo() local
4864 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4865 for (int i = 0; i < 10; ++i) in foo() local
4869 for (int i = 0; i < 10; ++i) { in foo() local
4870 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4876 for (int i = 0; i < 10; ++i) { in foo() local
4877 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4883 for (int i = 0; i < 10; ++i) { in foo() local
4884 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4886 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4890 for (int i = 0; i < 10; ++i) { in foo() local
4891 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4893 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4897 for (int i = 0; i < 10; ++i) { in foo() local
4898 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
4899 for (int i = 0; i < 10; ++i) in foo() local
4903 for (int i = 0; i < 10; ++i) { in foo() local
4904 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
4905 for (int i = 0; i < 10; ++i) in foo() local
4909 for (int i = 0; i < 10; ++i) { in foo() local
4910 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
4916 for (int i = 0; i < 10; ++i) { in foo() local
4917 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4923 for (int i = 0; i < 10; ++i) { in foo() local
4924 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4928 for (int i = 0; i < 10; ++i) { in foo() local
4929 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4933 for (int i = 0; i < 10; ++i) { in foo() local
4934 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4938 for (int i = 0; i < 10; ++i) { in foo() local
4939 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4943 for (int i = 0; i < 10; ++i) { in foo() local
4944 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4948 for (int i = 0; i < 10; ++i) { in foo() local
4949 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4953 for (int i = 0; i < 10; ++i) { in foo() local
4954 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4958 for (int i = 0; i < 10; ++i) { in foo() local
4959 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
4963 for (int i = 0; i < 10; ++i) { in foo() local
4964 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
4965 for (int i = 0; i < 10; ++i) in foo() local
4969 for (int i = 0; i < 10; ++i) { in foo() local
4970 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
4974 for (int i = 0; i < 10; ++i) { in foo() local
4975 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
4979 for (int i = 0; i < 10; ++i) { in foo() local
4980 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4984 for (int i = 0; i < 10; ++i) { in foo() local
4985 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
4986 for (int i = 0; i < 10; ++i) in foo() local
4990 for (int i = 0; i < 10; ++i) { in foo() local
4991 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
4996 for (int i = 0; i < 10; ++i) { in foo() local
4997 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
5001 for (int i = 0; i < 10; ++i) { in foo() local
5002 #pragma omp distribute parallel for // expected-error {{OpenMP constructs may not be nested inside … in foo()
5007 for (int i = 0; i < 10; ++i) { in foo() local
5008 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
5013 for (int i = 0; i < 10; ++i) { in foo() local
5014 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
5021 for (int i = 0; i < 10; ++i) { in foo() local
5022 #pragma omp for // expected-error {{region cannot be closely nested inside 'for' region; perhaps yo… in foo()
5023 for (int i = 0; i < 10; ++i) in foo() local
5027 for (int i = 0; i < 10; ++i) { in foo() local
5029 for (int i = 0; i < 10; ++i) in foo() local
5033 for (int i = 0; i < 10; ++i) { in foo() local
5034 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'for' region; perha… in foo()
5035 for (int i = 0; i < 10; ++i) in foo() local
5039 for (int i = 0; i < 10; ++i) { in foo() local
5041 for (int i = 0; i < 10; ++i) in foo() local
5045 for (int i = 0; i < 10; ++i) { in foo() local
5046 #pragma omp sections // expected-error {{region cannot be closely nested inside 'for' region; perha… in foo()
5052 for (int i = 0; i < 10; ++i) { in foo() local
5053 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
5059 for (int i = 0; i < 10; ++i) { in foo() local
5060 #pragma omp single // expected-error {{region cannot be closely nested inside 'for' region; perhaps… in foo()
5062 #pragma omp master // expected-error {{region cannot be closely nested inside 'for' region}} in foo()
5068 for (int i = 0; i < 10; ++i) { in foo() local
5076 for (int i = 0; i < 10; ++i) in foo() local
5079 for (int i = 0; i < 10; ++i) in foo() local
5088 for (int i = 0; i < 10; ++i) { in foo() local
5090 for (int i = 0; i < 10; ++i) in foo() local
5094 for (int i = 0; i < 10; ++i) { in foo() local
5096 for (int i = 0; i < 10; ++i) in foo() local
5100 for (int i = 0; i < 10; ++i) { in foo() local
5107 for (int i = 0; i < 10; ++i) { in foo() local
5114 for (int i = 0; i < 10; ++i) { in foo() local
5119 for (int i = 0; i < 10; ++i) { in foo() local
5120 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'for' region}} in foo()
5124 for (int i = 0; i < 10; ++i) { in foo() local
5129 for (int i = 0; i < 10; ++i) { in foo() local
5134 for (int i = 0; i < 10; ++i) { in foo() local
5135 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'for' region; perhap… in foo()
5139 for (int i = 0; i < 10; ++i) { in foo() local
5144 for (int i = 0; i < 10; ++i) { in foo() local
5149 for (int i = 0; i < 10; ++i) { in foo() local
5154 for (int i = 0; i < 10; ++i) { in foo() local
5159 for (int i = 0; i < 10; ++i) { in foo() local
5161 for (int i = 0; i < 10; ++i) in foo() local
5165 for (int i = 0; i < 10; ++i) { in foo() local
5170 for (int i = 0; i < 10; ++i) { in foo() local
5175 for (int i = 0; i < 10; ++i) { in foo() local
5176 #pragma omp teams // expected-error {{region cannot be closely nested inside 'for' region; perhaps … in foo()
5180 for (int i = 0; i < 10; ++i) { in foo() local
5182 for (int i = 0; i < 10; ++i) in foo() local
5186 for (int i = 0; i < 10; ++i) { in foo() local
5187 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'for' region; per… in foo()
5192 for (int i = 0; i < 10; ++i) { in foo() local
5197 for (int i = 0; i < 10; ++i) { in foo() local
5198 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'for… in foo()
5203 for (int i = 0; i < 10; ++i) { in foo() local
5204 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
5209 for (int i = 0; i < 10; ++i) { in foo() local
5210 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'for' region… in foo()
5217 for (int i = 0; i < 10; ++i) { in foo() local
5218 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5219 for (int i = 0; i < 10; ++i) in foo() local
5223 for (int i = 0; i < 10; ++i) { in foo() local
5224 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
5225 for (int i = 0; i < 10; ++i) in foo() local
5229 for (int i = 0; i < 10; ++i) { in foo() local
5230 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5231 for (int i = 0; i < 10; ++i) in foo() local
5235 for (int i = 0; i < 10; ++i) { in foo() local
5236 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5237 for (int i = 0; i < 10; ++i) in foo() local
5241 for (int i = 0; i < 10; ++i) { in foo() local
5242 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5248 for (int i = 0; i < 10; ++i) { in foo() local
5249 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5255 for (int i = 0; i < 10; ++i) { in foo() local
5256 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5258 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5262 for (int i = 0; i < 10; ++i) { in foo() local
5263 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5265 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5269 for (int i = 0; i < 10; ++i) { in foo() local
5270 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
5271 for (int i = 0; i < 10; ++i) in foo() local
5275 for (int i = 0; i < 10; ++i) { in foo() local
5276 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
5277 for (int i = 0; i < 10; ++i) in foo() local
5281 for (int i = 0; i < 10; ++i) { in foo() local
5282 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
5288 for (int i = 0; i < 10; ++i) { in foo() local
5289 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5295 for (int i = 0; i < 10; ++i) { in foo() local
5296 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5300 for (int i = 0; i < 10; ++i) { in foo() local
5301 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5305 for (int i = 0; i < 10; ++i) { in foo() local
5306 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5310 for (int i = 0; i < 10; ++i) { in foo() local
5311 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5315 for (int i = 0; i < 10; ++i) { in foo() local
5316 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5320 for (int i = 0; i < 10; ++i) { in foo() local
5321 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5325 for (int i = 0; i < 10; ++i) { in foo() local
5326 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5330 for (int i = 0; i < 10; ++i) { in foo() local
5331 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
5335 for (int i = 0; i < 10; ++i) { in foo() local
5336 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
5337 for (int i = 0; i < 10; ++i) in foo() local
5341 for (int i = 0; i < 10; ++i) { in foo() local
5342 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
5346 for (int i = 0; i < 10; ++i) { in foo() local
5347 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
5351 for (int i = 0; i < 10; ++i) { in foo() local
5352 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5356 for (int i = 0; i < 10; ++i) { in foo() local
5357 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
5358 for (int i = 0; i < 10; ++i) in foo() local
5362 for (int i = 0; i < 10; ++i) { in foo() local
5363 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
5368 for (int i = 0; i < 10; ++i) { in foo() local
5369 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
5373 for (int i = 0; i < 10; ++i) { in foo() local
5374 #pragma omp distribute parallel for // expected-error {{OpenMP constructs may not be nested inside … in foo()
5379 for (int i = 0; i < 10; ++i) { in foo() local
5380 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
5385 for (int i = 0; i < 10; ++i) { in foo() local
5386 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
5394 #pragma omp for // expected-error {{region cannot be closely nested inside 'sections' region; perha… in foo()
5395 for (int i = 0; i < 10; ++i) in foo() local
5401 for (int i = 0; i < 10; ++i) in foo() local
5406 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'sections' region; … in foo()
5407 for (int i = 0; i < 10; ++i) in foo() local
5413 for (int i = 0; i < 10; ++i) in foo() local
5418 #pragma omp sections // expected-error {{region cannot be closely nested inside 'sections' region; … in foo()
5434 #pragma omp single // expected-error {{region cannot be closely nested inside 'sections' region; pe… in foo()
5436 #pragma omp master // expected-error {{region cannot be closely nested inside 'sections' region}} in foo()
5448 for (int i = 0; i < 10; ++i) in foo() local
5451 for (int i = 0; i < 10; ++i) in foo() local
5462 for (int i = 0; i < 10; ++i) in foo() local
5468 for (int i = 0; i < 10; ++i) in foo() local
5491 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'sections' region}} in foo()
5504 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'sections' region; p… in foo()
5525 for (int i = 0; i < 10; ++i) in foo() local
5538 #pragma omp teams // expected-error {{region cannot be closely nested inside 'sections' region; per… in foo()
5544 for (int i = 0; i < 10; ++i) in foo() local
5549 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'sections' region… in foo()
5550 for (int i = 0; i < 10; ++i) in foo() local
5559 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'sec… in foo()
5560 for (int i = 0; i < 10; ++i) in foo() local
5565 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
5566 for (int i = 0; i < 10; ++i) in foo() local
5571 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'sections' r… in foo()
5572 for (int i = 0; i < 10; ++i) in foo() local
5577 #pragma omp section // expected-error {{orphaned 'omp section' directives are prohibited, it must b… in foo()
5585 #pragma omp for // expected-error {{region cannot be closely nested inside 'section' region; perhap… in foo()
5586 for (int i = 0; i < 10; ++i) in foo() local
5595 for (int i = 0; i < 10; ++i) in foo() local
5603 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'section' region; p… in foo()
5604 for (int i = 0; i < 10; ++i) in foo() local
5613 for (int i = 0; i < 10; ++i) in foo() local
5621 #pragma omp sections // expected-error {{region cannot be closely nested inside 'section' region; p… in foo()
5631 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
5641 #pragma omp single // expected-error {{region cannot be closely nested inside 'section' region; per… in foo()
5643 #pragma omp master // expected-error {{region cannot be closely nested inside 'section' region}} in foo()
5660 for (int i = 0; i < 10; ++i) in foo() local
5663 for (int i = 0; i < 10; ++i) in foo() local
5677 for (int i = 0; i < 10; ++i) in foo() local
5686 for (int i = 0; i < 10; ++i) in foo() local
5722 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'section' region}} in foo()
5746 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'section' region; pe… in foo()
5779 for (int i = 0; i < 10; ++i) in foo() local
5803 #pragma omp teams // expected-error {{region cannot be closely nested inside 'section' region; perh… in foo()
5812 for (int i = 0; i < 10; ++i) in foo() local
5819 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'section' region;… in foo()
5820 for (int i = 0; i < 10; ++i) in foo() local
5834 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'sec… in foo()
5835 for (int i = 0; i < 10; ++i) in foo() local
5841 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
5842 for (int i = 0; i < 10; ++i) in foo() local
5848 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'section' re… in foo()
5849 for (int i = 0; i < 10; ++i) in foo() local
5856 #pragma omp for // expected-error {{region cannot be closely nested inside 'single' region; perhaps… in foo()
5857 for (int i = 0; i < 10; ++i) in foo() local
5863 for (int i = 0; i < 10; ++i) in foo() local
5868 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'single' region; pe… in foo()
5869 for (int i = 0; i < 10; ++i) in foo() local
5875 for (int i = 0; i < 10; ++i) in foo() local
5880 #pragma omp single // expected-error {{region cannot be closely nested inside 'single' region; perh… in foo()
5884 #pragma omp master // expected-error {{region cannot be closely nested inside 'single' region}} in foo()
5891 #pragma omp sections // expected-error {{region cannot be closely nested inside 'single' region; pe… in foo()
5905 for (int i = 0; i < 10; ++i) in foo() local
5908 for (int i = 0; i < 10; ++i) in foo() local
5919 for (int i = 0; i < 10; ++i) in foo() local
5925 for (int i = 0; i < 10; ++i) in foo() local
5949 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'single' region}} in foo()
5964 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'single' region; per… in foo()
5985 for (int i = 0; i < 10; ++i) in foo() local
6000 #pragma omp teams // expected-error {{region cannot be closely nested inside 'single' region; perha… in foo()
6006 for (int i = 0; i < 10; ++i) in foo() local
6011 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'single' region; … in foo()
6012 for (int i = 0; i < 10; ++i) in foo() local
6022 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'sin… in foo()
6023 for (int i = 0; i < 10; ++i) in foo() local
6028 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
6029 for (int i = 0; i < 10; ++i) in foo() local
6034 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'single' reg… in foo()
6035 for (int i = 0; i < 10; ++i) in foo() local
6042 #pragma omp for // expected-error {{region cannot be closely nested inside 'master' region; perhaps… in foo()
6043 for (int i = 0; i < 10; ++i) in foo() local
6049 for (int i = 0; i < 10; ++i) in foo() local
6054 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'master' region; pe… in foo()
6055 for (int i = 0; i < 10; ++i) in foo() local
6061 for (int i = 0; i < 10; ++i) in foo() local
6066 #pragma omp single // expected-error {{region cannot be closely nested inside 'master' region; perh… in foo()
6087 #pragma omp sections // expected-error {{region cannot be closely nested inside 'master' region; pe… in foo()
6101 for (int i = 0; i < 10; ++i) in foo() local
6104 for (int i = 0; i < 10; ++i) in foo() local
6115 for (int i = 0; i < 10; ++i) in foo() local
6121 for (int i = 0; i < 10; ++i) in foo() local
6145 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'master' region}} in foo()
6160 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'master' region; per… in foo()
6181 for (int i = 0; i < 10; ++i) in foo() local
6196 #pragma omp teams // expected-error {{region cannot be closely nested inside 'master' region; perha… in foo()
6202 for (int i = 0; i < 10; ++i) in foo() local
6207 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'master' region; … in foo()
6208 for (int i = 0; i < 10; ++i) in foo() local
6218 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'mas… in foo()
6219 for (int i = 0; i < 10; ++i) in foo() local
6224 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
6225 for (int i = 0; i < 10; ++i) in foo() local
6230 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'master' reg… in foo()
6231 for (int i = 0; i < 10; ++i) in foo() local
6238 #pragma omp for // expected-error {{region cannot be closely nested inside 'critical' region; perha… in foo()
6239 for (int i = 0; i < 10; ++i) in foo() local
6245 for (int i = 0; i < 10; ++i) in foo() local
6250 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'critical' region; … in foo()
6251 for (int i = 0; i < 10; ++i) in foo() local
6257 for (int i = 0; i < 10; ++i) in foo() local
6262 #pragma omp single // expected-error {{region cannot be closely nested inside 'critical' region; pe… in foo()
6283 #pragma omp sections // expected-error {{region cannot be closely nested inside 'critical' region; … in foo()
6297 for (int i = 0; i < 10; ++i) in foo() local
6300 for (int i = 0; i < 10; ++i) in foo() local
6311 for (int i = 0; i < 10; ++i) in foo() local
6317 for (int i = 0; i < 10; ++i) in foo() local
6341 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'critical' region}} in foo()
6354 #pragma omp critical(Tuzik) // expected-note {{previous 'critical' region starts here}} in foo()
6356 #pragma omp critical(grelka) // expected-note {{previous 'critical' region starts here}} in foo()
6358 #pragma omp critical(Tuzik) // expected-error {{cannot nest 'critical' regions having the same name… in foo()
6361 #pragma omp critical(grelka) // expected-error {{cannot nest 'critical' regions having the same nam… in foo()
6375 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'critical' region; p… in foo()
6396 for (int i = 0; i < 10; ++i) in foo() local
6411 #pragma omp teams // expected-error {{region cannot be closely nested inside 'critical' region; per… in foo()
6417 for (int i = 0; i < 10; ++i) in foo() local
6422 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'critical' region… in foo()
6423 for (int i = 0; i < 10; ++i) in foo() local
6433 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'cri… in foo()
6434 for (int i = 0; i < 10; ++i) in foo() local
6439 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
6440 for (int i = 0; i < 10; ++i) in foo() local
6445 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'critical' r… in foo()
6446 for (int i = 0; i < 10; ++i) in foo() local
6452 for (int i = 0; i < 10; ++i) { in foo() local
6453 #pragma omp for // expected-error {{region cannot be closely nested inside 'parallel for' region; p… in foo()
6454 for (int i = 0; i < 10; ++i) in foo() local
6458 for (int i = 0; i < 10; ++i) { in foo() local
6460 for (int i = 0; i < 10; ++i) in foo() local
6464 for (int i = 0; i < 10; ++i) { in foo() local
6465 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'parallel for' regi… in foo()
6466 for (int i = 0; i < 10; ++i) in foo() local
6471 for (int i = 0; i < 10; ++i) { in foo() local
6473 for (int i = 0; i < 10; ++i) in foo() local
6477 for (int i = 0; i < 10; ++i) { in foo() local
6478 #pragma omp sections // expected-error {{region cannot be closely nested inside 'parallel for' regi… in foo()
6484 for (int i = 0; i < 10; ++i) { in foo() local
6485 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
6491 for (int i = 0; i < 10; ++i) { in foo() local
6492 #pragma omp single // expected-error {{region cannot be closely nested inside 'parallel for' region… in foo()
6496 #pragma omp master // expected-error {{region cannot be closely nested inside 'parallel for' region… in foo()
6506 for (int i = 0; i < 10; ++i) { in foo() local
6522 for (int i = 0; i < 10; ++i) in foo() local
6525 for (int i = 0; i < 10; ++i) in foo() local
6534 for (int i = 0; i < 10; ++i) { in foo() local
6536 for (int i = 0; i < 10; ++i) in foo() local
6540 for (int i = 0; i < 10; ++i) { in foo() local
6542 for (int i = 0; i < 10; ++i) in foo() local
6546 for (int i = 0; i < 10; ++i) { in foo() local
6553 for (int i = 0; i < 10; ++i) { in foo() local
6560 for (int i = 0; i < 10; ++i) { in foo() local
6565 for (int i = 0; i < 10; ++i) { in foo() local
6566 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'parallel for' regio… in foo()
6570 for (int i = 0; i < 10; ++i) { in foo() local
6575 for (int i = 0; i < 10; ++i) { in foo() local
6580 for (int i = 0; i < 10; ++i) { in foo() local
6581 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'parallel for' regio… in foo()
6585 for (int i = 0; i < 10; ++i) { in foo() local
6590 for (int i = 0; i < 10; ++i) { in foo() local
6595 for (int i = 0; i < 10; ++i) { in foo() local
6600 for (int i = 0; i < 10; ++i) { in foo() local
6605 for (int i = 0; i < 10; ++i) { in foo() local
6607 for (int i = 0; i < 10; ++i) in foo() local
6611 for (int i = 0; i < 10; ++i) { in foo() local
6616 for (int i = 0; i < 10; ++i) { in foo() local
6621 for (int i = 0; i < 10; ++i) { in foo() local
6622 #pragma omp teams // expected-error {{region cannot be closely nested inside 'parallel for' region;… in foo()
6626 for (int i = 0; i < 10; ++i) { in foo() local
6628 for (int i = 0; i < 10; ++i) in foo() local
6632 for (int i = 0; i < 10; ++i) { in foo() local
6633 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'parallel for' re… in foo()
6638 for (int i = 0; i < 10; ++i) { in foo() local
6643 for (int i = 0; i < 10; ++i) { in foo() local
6644 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'par… in foo()
6649 for (int i = 0; i < 10; ++i) { in foo() local
6650 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
6655 for (int i = 0; i < 10; ++i) { in foo() local
6656 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'parallel fo… in foo()
6663 for (int i = 0; i < 10; ++i) { in foo() local
6664 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6665 for (int i = 0; i < 10; ++i) in foo() local
6669 for (int i = 0; i < 10; ++i) { in foo() local
6670 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
6671 for (int i = 0; i < 10; ++i) in foo() local
6675 for (int i = 0; i < 10; ++i) { in foo() local
6676 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6677 for (int i = 0; i < 10; ++i) in foo() local
6681 for (int i = 0; i < 10; ++i) { in foo() local
6682 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6683 for (int i = 0; i < 10; ++i) in foo() local
6687 for (int i = 0; i < 10; ++i) { in foo() local
6688 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6694 for (int i = 0; i < 10; ++i) { in foo() local
6695 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6701 for (int i = 0; i < 10; ++i) { in foo() local
6702 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6709 for (int i = 0; i < 10; ++i) { in foo() local
6710 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6717 for (int i = 0; i < 10; ++i) { in foo() local
6718 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6725 for (int i = 0; i < 10; ++i) { in foo() local
6726 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6733 for (int i = 0; i < 10; ++i) in foo() local
6736 for (int i = 0; i < 10; ++i) in foo() local
6745 for (int i = 0; i < 10; ++i) { in foo() local
6746 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
6747 for (int i = 0; i < 10; ++i) in foo() local
6751 for (int i = 0; i < 10; ++i) { in foo() local
6752 #pragma omp parallel for simd// expected-error {{OpenMP constructs may not be nested inside a simd … in foo()
6753 for (int i = 0; i < 10; ++i) in foo() local
6757 for (int i = 0; i < 10; ++i) { in foo() local
6758 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
6764 for (int i = 0; i < 10; ++i) { in foo() local
6765 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6771 for (int i = 0; i < 10; ++i) { in foo() local
6772 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6776 for (int i = 0; i < 10; ++i) { in foo() local
6777 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6781 for (int i = 0; i < 10; ++i) { in foo() local
6782 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6786 for (int i = 0; i < 10; ++i) { in foo() local
6787 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6791 for (int i = 0; i < 10; ++i) { in foo() local
6792 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6796 for (int i = 0; i < 10; ++i) { in foo() local
6797 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6801 for (int i = 0; i < 10; ++i) { in foo() local
6802 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6806 for (int i = 0; i < 10; ++i) { in foo() local
6807 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6811 for (int i = 0; i < 10; ++i) { in foo() local
6812 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
6816 for (int i = 0; i < 10; ++i) { in foo() local
6817 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
6818 for (int i = 0; i < 10; ++i) in foo() local
6822 for (int i = 0; i < 10; ++i) { in foo() local
6823 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
6827 for (int i = 0; i < 10; ++i) { in foo() local
6828 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
6832 for (int i = 0; i < 10; ++i) { in foo() local
6833 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6837 for (int i = 0; i < 10; ++i) { in foo() local
6838 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
6839 for (int i = 0; i < 10; ++i) in foo() local
6843 for (int i = 0; i < 10; ++i) { in foo() local
6844 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
6849 for (int i = 0; i < 10; ++i) { in foo() local
6850 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
6854 for (int i = 0; i < 10; ++i) { in foo() local
6855 #pragma omp distribute parallel for // expected-error {{OpenMP constructs may not be nested inside … in foo()
6860 for (int i = 0; i < 10; ++i) { in foo() local
6861 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
6866 for (int i = 0; i < 10; ++i) { in foo() local
6867 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
6875 #pragma omp for // expected-error {{region cannot be closely nested inside 'parallel sections' regi… in foo()
6876 for (int i = 0; i < 10; ++i) in foo() local
6882 for (int i = 0; i < 10; ++i) in foo() local
6887 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'parallel sections'… in foo()
6888 for (int i = 0; i < 10; ++i) in foo() local
6894 for (int i = 0; i < 10; ++i) in foo() local
6899 #pragma omp sections // expected-error {{region cannot be closely nested inside 'parallel sections'… in foo()
6915 #pragma omp single // expected-error {{region cannot be closely nested inside 'section' region; per… in foo()
6917 #pragma omp master // expected-error {{region cannot be closely nested inside 'section' region}} in foo()
6940 for (int i = 0; i < 10; ++i) in foo() local
6943 for (int i = 0; i < 10; ++i) in foo() local
6954 for (int i = 0; i < 10; ++i) in foo() local
6960 for (int i = 0; i < 10; ++i) in foo() local
6983 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'parallel sections' … in foo()
6995 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'parallel sections' … in foo()
7016 for (int i = 0; i < 10; ++i) in foo() local
7029 #pragma omp teams // expected-error {{region cannot be closely nested inside 'parallel sections' re… in foo()
7035 for (int i = 0; i < 10; ++i) in foo() local
7040 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'parallel section… in foo()
7041 for (int i = 0; i < 10; ++i) in foo() local
7050 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'par… in foo()
7051 for (int i = 0; i < 10; ++i) in foo() local
7056 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
7057 for (int i = 0; i < 10; ++i) in foo() local
7062 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'parallel se… in foo()
7063 for (int i = 0; i < 10; ++i) in foo() local
7069 #pragma omp for // expected-error {{region cannot be closely nested inside 'task' region; perhaps y… in foo()
7070 for (int i = 0; i < 10; ++i) in foo() local
7074 for (int i = 0; i < 10; ++i) in foo() local
7077 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'task' region; perh… in foo()
7078 for (int i = 0; i < 10; ++i) in foo() local
7081 #pragma omp sections // expected-error {{region cannot be closely nested inside 'task' region; perh… in foo()
7086 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
7091 #pragma omp single // expected-error {{region cannot be closely nested inside 'task' region; perhap… in foo()
7094 #pragma omp master // expected-error {{region cannot be closely nested inside 'task' region}} in foo()
7101 for (int i = 0; i < 10; ++i) in foo() local
7105 for (int i = 0; i < 10; ++i) in foo() local
7124 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'task' region}} in foo()
7139 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'task' region; perha… in foo()
7159 for (int i = 0; i < 10; ++i) in foo() local
7173 #pragma omp teams // expected-error {{region cannot be closely nested inside 'task' region; perhaps… in foo()
7179 for (int i = 0; i < 10; ++i) in foo() local
7184 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'task' region; pe… in foo()
7185 for (int i = 0; i < 10; ++i) in foo() local
7195 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tas… in foo()
7196 for (int i = 0; i < 10; ++i) in foo() local
7201 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
7202 for (int i = 0; i < 10; ++i) in foo() local
7207 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'task' regio… in foo()
7208 for (int i = 0; i < 10; ++i) in foo() local
7214 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7215 // expected-note@+1 {{expected an expression statement}} in foo()
7217 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7218 for (int i = 0; i < 10; ++i) in foo() local
7222 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7223 // expected-note@+1 {{expected an expression statement}} in foo()
7225 #pragma omp simd // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7226 for (int i = 0; i < 10; ++i) in foo() local
7230 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7231 // expected-note@+1 {{expected an expression statement}} in foo()
7233 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
7234 for (int i = 0; i < 10; ++i) in foo() local
7238 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7239 // expected-note@+1 {{expected an expression statement}} in foo()
7241 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
7242 for (int i = 0; i < 10; ++i) in foo() local
7246 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7247 // expected-note@+1 {{expected an expression statement}} in foo()
7249 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
7255 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7256 // expected-note@+1 {{expected an expression statement}} in foo()
7258 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside an atomic region… in foo()
7264 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7265 // expected-note@+1 {{expected an expression statement}} in foo()
7267 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7273 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7274 // expected-note@+1 {{expected an expression statement}} in foo()
7276 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7282 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7283 // expected-note@+1 {{expected an expression statement}} in foo()
7285 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
7291 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7292 // expected-note@+1 {{expected an expression statement}} in foo()
7294 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside an atomic r… in foo()
7295 for (int i = 0; i < 10; ++i) in foo() local
7299 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7300 // expected-note@+1 {{expected an expression statement}} in foo()
7302 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside an ato… in foo()
7303 for (int i = 0; i < 10; ++i) in foo() local
7307 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7308 // expected-note@+1 {{expected an expression statement}} in foo()
7310 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside an ato… in foo()
7316 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7317 // expected-note@+1 {{expected an expression statement}} in foo()
7319 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7325 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7326 // expected-note@+1 {{expected an expression statement}} in foo()
7328 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside an atomic regi… in foo()
7332 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7333 // expected-note@+1 {{expected an expression statement}} in foo()
7335 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside an atomic region… in foo()
7339 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7340 // expected-note@+1 {{expected an expression statement}} in foo()
7342 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
7346 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7347 // expected-note@+1 {{expected an expression statement}} in foo()
7349 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7353 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7354 // expected-note@+1 {{expected an expression statement}} in foo()
7356 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside an atomic region… in foo()
7360 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7361 // expected-note@+1 {{expected an expression statement}} in foo()
7363 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7367 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7368 // expected-note@+1 {{expected an expression statement}} in foo()
7370 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7374 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7375 // expected-note@+1 {{expected an expression statement}} in foo()
7377 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside an atomi… in foo()
7381 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7382 // expected-note@+1 {{expected an expression statement}} in foo()
7384 #pragma omp target parallel for // expected-error {{OpenMP constructs may not be nested inside an a… in foo()
7385 for (int i = 0; i < 10; ++i) in foo() local
7389 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7390 // expected-note@+1 {{expected an expression statement}} in foo()
7392 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
7396 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7397 // expected-note@+1 {{expected an expression statement}} in foo()
7399 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
7403 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7404 // expected-note@+1 {{expected an expression statement}} in foo()
7406 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside an atomic region}} in foo()
7410 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7411 // expected-note@+1 {{expected an expression statement}} in foo()
7413 #pragma omp taskloop // expected-error {{OpenMP constructs may not be nested inside an atomic regio… in foo()
7414 for (int i = 0; i < 10; ++i) in foo() local
7418 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7419 // expected-note@+1 {{expected an expression statement}} in foo()
7421 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside an atomic reg… in foo()
7422 for (int i = 0; i < 10; ++i) in foo() local
7426 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7427 // expected-note@+1 {{expected an expression statement}} in foo()
7429 #pragma omp target update // expected-error {{OpenMP constructs may not be nested inside an atomic … in foo()
7432 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7433 // expected-note@+1 {{expected an expression statement}} in foo()
7435 #pragma omp distribute parallel for// expected-error {{OpenMP constructs may not be nested inside a… in foo()
7436 for (int i = 0; i < 10; ++i) in foo() local
7440 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7441 // expected-note@+1 {{expected an expression statement}} in foo()
7443 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
7444 for (int i = 0; i < 10; ++i) in foo() local
7448 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7449 // expected-note@+1 {{expected an expression statement}} in foo()
7451 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside an atomi… in foo()
7452 for (int i = 0; i < 10; ++i) in foo() local
7462 for (int i = 0; i < 10; ++i) in foo() local
7466 for (int i = 0; i < 10; ++i) in foo() local
7470 for (int i = 0; i < 10; ++i) in foo() local
7478 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
7498 for (int i = 0; i < 10; ++i) in foo() local
7502 for (int i = 0; i < 10; ++i) in foo() local
7536 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'target' region; per… in foo()
7546 #pragma omp target // expected-error {{region cannot be nested inside 'target' region}} in foo()
7551 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
7555 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
7556 for (int i = 0; i < 10; ++i) in foo() local
7560 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
7564 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
7571 #pragma omp target // expected-error {{target construct with nested teams region contains statement… in foo()
7573 ++a; // expected-note {{statement outside teams construct here}} in foo()
7574 #pragma omp teams // expected-note {{nested teams construct here}} in foo()
7580 for (int i = 0; i < 10; ++i) in foo() local
7585 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'target' region; … in foo()
7586 for (int i = 0; i < 10; ++i) in foo() local
7590 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
7591 // expected-note@+1 {{expected an expression statement}} in foo()
7593 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside an a… in foo()
7598 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tar… in foo()
7599 for (int i = 0; i < 10; ++i) in foo() local
7604 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
7605 for (int i = 0; i < 10; ++i) in foo() local
7610 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'target' reg… in foo()
7611 for (int i = 0; i < 10; ++i) in foo() local
7621 for (int i = 0; i < 10; ++i) in foo() local
7625 for (int i = 0; i < 10; ++i) in foo() local
7629 for (int i = 0; i < 10; ++i) in foo() local
7637 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
7657 for (int i = 0; i < 10; ++i) in foo() local
7661 for (int i = 0; i < 10; ++i) in foo() local
7695 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'target parallel' re… in foo()
7705 #pragma omp target // expected-error {{region cannot be nested inside 'target parallel' region}} in foo()
7710 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target parallel' re… in foo()
7714 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target parallel… in foo()
7715 for (int i = 0; i < 10; ++i) in foo() local
7719 #pragma omp teams // expected-error {{region cannot be closely nested inside 'target parallel' regi… in foo()
7725 #pragma omp teams // expected-error {{region cannot be closely nested inside 'target parallel' reg… in foo()
7731 for (int i = 0; i < 10; ++i) in foo() local
7736 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'target parallel'… in foo()
7737 for (int i = 0; i < 10; ++i) in foo() local
7742 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
7746 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
7750 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target parallel… in foo()
7754 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tar… in foo()
7755 for (int i = 0; i < 10; ++i) in foo() local
7760 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
7761 for (int i = 0; i < 10; ++i) in foo() local
7766 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'target para… in foo()
7767 for (int i = 0; i < 10; ++i) in foo() local
7773 for (int i = 0; i < 10; ++i) { in foo() local
7774 #pragma omp for // expected-error {{region cannot be closely nested inside 'target parallel for' re… in foo()
7775 for (int i = 0; i < 10; ++i) in foo() local
7779 for (int i = 0; i < 10; ++i) { in foo() local
7781 for (int i = 0; i < 10; ++i) in foo() local
7785 for (int i = 0; i < 10; ++i) { in foo() local
7786 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'target parallel fo… in foo()
7787 for (int i = 0; i < 10; ++i) in foo() local
7791 for (int i = 0; i < 10; ++i) { in foo() local
7793 for (int i = 0; i < 10; ++i) in foo() local
7797 for (int i = 0; i < 10; ++i) { in foo() local
7798 #pragma omp sections // expected-error {{region cannot be closely nested inside 'target parallel fo… in foo()
7804 for (int i = 0; i < 10; ++i) { in foo() local
7805 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
7811 for (int i = 0; i < 10; ++i) { in foo() local
7812 #pragma omp single // expected-error {{region cannot be closely nested inside 'target parallel for'… in foo()
7819 for (int i = 0; i < 10; ++i) { in foo() local
7820 #pragma omp master // expected-error {{region cannot be closely nested inside 'target parallel for'… in foo()
7827 for (int i = 0; i < 10; ++i) { in foo() local
7835 for (int i = 0; i < 10; ++i) { in foo() local
7843 for (int i = 0; i < 10; ++i) in foo() local
7846 for (int i = 0; i < 10; ++i) in foo() local
7855 for (int i = 0; i < 10; ++i) { in foo() local
7857 for (int i = 0; i < 10; ++i) in foo() local
7861 for (int i = 0; i < 10; ++i) { in foo() local
7863 for (int i = 0; i < 10; ++i) in foo() local
7867 for (int i = 0; i < 10; ++i) { in foo() local
7874 for (int i = 0; i < 10; ++i) { in foo() local
7881 for (int i = 0; i < 10; ++i) { in foo() local
7886 for (int i = 0; i < 10; ++i) { in foo() local
7887 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'target parallel for… in foo()
7891 for (int i = 0; i < 10; ++i) { in foo() local
7896 for (int i = 0; i < 10; ++i) { in foo() local
7901 for (int i = 0; i < 10; ++i) { in foo() local
7902 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'target parallel for… in foo()
7906 for (int i = 0; i < 10; ++i) { in foo() local
7911 for (int i = 0; i < 10; ++i) { in foo() local
7916 for (int i = 0; i < 10; ++i) { in foo() local
7917 #pragma omp target // expected-error {{region cannot be nested inside 'target parallel for' region}} in foo()
7921 for (int i = 0; i < 10; ++i) { in foo() local
7922 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target parallel for… in foo()
7926 for (int i = 0; i < 10; ++i) { in foo() local
7927 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target parallel… in foo()
7928 for (int i = 0; i < 10; ++i) in foo() local
7932 for (int i = 0; i < 10; ++i) { in foo() local
7933 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
7937 for (int i = 0; i < 10; ++i) { in foo() local
7938 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
7942 for (int i = 0; i < 10; ++i) { in foo() local
7943 #pragma omp teams // expected-error {{region cannot be closely nested inside 'target parallel for' … in foo()
7947 for (int i = 0; i < 10; ++i) { in foo() local
7949 for (int i = 0; i < 10; ++i) in foo() local
7953 for (int i = 0; i < 10; ++i) { in foo() local
7954 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'target parallel … in foo()
7959 for (int i = 0; i < 10; ++i) { in foo() local
7960 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target parallel… in foo()
7964 for (int i = 0; i < 10; ++i) { in foo() local
7965 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tar… in foo()
7970 for (int i = 0; i < 10; ++i) { in foo() local
7971 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
7976 for (int i = 0; i < 10; ++i) { in foo() local
7977 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'target para… in foo()
7989 #pragma omp for // expected-error {{region cannot be closely nested inside 'teams' region; perhaps … in foo()
7990 for (int i = 0; i < 10; ++i) in foo() local
7994 #pragma omp simd // expected-error {{region cannot be closely nested inside 'teams' region; perhaps… in foo()
7995 for (int i = 0; i < 10; ++i) in foo() local
7999 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
8000 for (int i = 0; i < 10; ++i) in foo() local
8004 #pragma omp sections // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
8010 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
8016 #pragma omp single // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
8021 #pragma omp master // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
8027 #pragma omp critical // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
8034 for (int i = 0; i < 10; ++i) in foo() local
8039 for (int i = 0; i < 10; ++i) in foo() local
8049 #pragma omp task // expected-error {{region cannot be closely nested inside 'teams' region; perhaps… in foo()
8056 #pragma omp taskyield // expected-error {{region cannot be closely nested inside 'teams' region; pe… in foo()
8062 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'teams' region; perh… in foo()
8068 #pragma omp taskwait // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
8074 #pragma omp flush // expected-error {{region cannot be closely nested inside 'teams' region; perhap… in foo()
8080 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'teams' region; perh… in foo()
8086 #pragma omp atomic // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
8092 #pragma omp target // expected-error {{region cannot be closely nested inside 'teams' region; perha… in foo()
8098 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
8103 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
8104 for (int i = 0; i < 10; ++i) in foo() local
8109 #pragma omp target enter data map(to: a) // expected-error {{region cannot be closely nested inside… in foo()
8114 #pragma omp target exit data map(from: a) // expected-error {{region cannot be closely nested insid… in foo()
8119 #pragma omp teams // expected-error {{region cannot be closely nested inside 'teams' region; perhap… in foo()
8125 #pragma omp taskloop // expected-error {{region cannot be closely nested inside 'teams' region; per… in foo()
8126 for (int i = 0; i < 10; ++i) in foo() local
8132 for (int i = 0; i < 10; ++i) in foo() local
8137 for (int i = 0; i < 10; ++i) in foo() local
8145 #pragma omp target update to(a) // expected-error {{region cannot be closely nested inside 'teams' … in foo()
8151 for (int i = 0; i < 10; ++i) in foo() local
8157 for (int i = 0; i < 10; ++i) in foo() local
8167 for (int i = 0; i < 10; ++i) in foo() local
8177 for (int i = 0; i < 10; ++i) in foo() local
8186 for (int i = 0; i < 10; ++i) { in foo() local
8187 #pragma omp for // expected-error {{region cannot be closely nested inside 'taskloop' region; perha… in foo()
8188 for (int i = 0; i < 10; ++i) in foo() local
8192 for (int i = 0; i < 10; ++i) { in foo() local
8194 for (int i = 0; i < 10; ++i) in foo() local
8198 for (int i = 0; i < 10; ++i) { in foo() local
8199 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'taskloop' region; … in foo()
8200 for (int i = 0; i < 10; ++i) in foo() local
8204 for (int i = 0; i < 10; ++i) { in foo() local
8206 for (int i = 0; i < 10; ++i) in foo() local
8210 for (int i = 0; i < 10; ++i) { in foo() local
8211 #pragma omp sections // expected-error {{region cannot be closely nested inside 'taskloop' region; … in foo()
8217 for (int i = 0; i < 10; ++i) { in foo() local
8218 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
8224 for (int i = 0; i < 10; ++i) { in foo() local
8225 #pragma omp single // expected-error {{region cannot be closely nested inside 'taskloop' region; pe… in foo()
8232 for (int i = 0; i < 10; ++i) { in foo() local
8233 #pragma omp master // expected-error {{region cannot be closely nested inside 'taskloop' region}} in foo()
8239 for (int i = 0; i < 10; ++i) { in foo() local
8246 for (int i = 0; i < 10; ++i) { in foo() local
8254 for (int i = 0; i < 10; ++i) in foo() local
8263 for (int i = 0; i < 10; ++i) { in foo() local
8265 for (int i = 0; i < 10; ++i) in foo() local
8269 for (int i = 0; i < 10; ++i) { in foo() local
8271 for (int i = 0; i < 10; ++i) in foo() local
8275 for (int i = 0; i < 10; ++i) { in foo() local
8282 for (int i = 0; i < 10; ++i) { in foo() local
8289 for (int i = 0; i < 10; ++i) { in foo() local
8294 for (int i = 0; i < 10; ++i) { in foo() local
8295 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'taskloop' region}} in foo()
8299 for (int i = 0; i < 10; ++i) { in foo() local
8304 for (int i = 0; i < 10; ++i) { in foo() local
8309 for (int i = 0; i < 10; ++i) { in foo() local
8310 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'taskloop' region; p… in foo()
8314 for (int i = 0; i < 10; ++i) { in foo() local
8319 for (int i = 0; i < 10; ++i) { in foo() local
8324 for (int i = 0; i < 10; ++i) { in foo() local
8329 for (int i = 0; i < 10; ++i) { in foo() local
8331 for (int i = 0; i < 10; ++i) in foo() local
8335 for (int i = 0; i < 10; ++i) { in foo() local
8340 for (int i = 0; i < 10; ++i) { in foo() local
8345 for (int i = 0; i < 10; ++i) { in foo() local
8346 #pragma omp teams // expected-error {{region cannot be closely nested inside 'taskloop' region; per… in foo()
8350 for (int i = 0; i < 10; ++i) { in foo() local
8352 for (int i = 0; i < 10; ++i) in foo() local
8356 for (int i = 0; i < 10; ++i) { in foo() local
8361 for (int i = 0; i < 10; ++i) { in foo() local
8362 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'taskloop' region… in foo()
8363 for (int i = 0; i < 10; ++i) in foo() local
8367 for (int i = 0; i < 10; ++i) { in foo() local
8368 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'tas… in foo()
8369 for (int i = 0; i < 10; ++i) in foo() local
8373 for (int i = 0; i < 10; ++i) { in foo() local
8374 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
8375 for (int i = 0; i < 10; ++i) in foo() local
8379 for (int i = 0; i < 10; ++i) { in foo() local
8380 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'taskloop' r… in foo()
8381 for (int i = 0; i < 10; ++i) in foo() local
8389 for (int i = 0; i < 10; ++i) { in foo() local
8390 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'distribute' regi… in foo()
8391 for (int i = 0; i < 10; ++i) in foo() local
8397 for (int i = 0; i < 10; ++i) { in foo() local
8399 for (int i = 0; i < 10; ++i) in foo() local
8405 for (int i = 0; i < 10; ++i) { in foo() local
8407 for (int i = 0; i < 10; ++i) in foo() local
8413 for (int i = 0; i < 10; ++i) { in foo() local
8415 for (int i = 0; i < 10; ++i) in foo() local
8421 for (int i = 0; i < 10; ++i) { in foo() local
8423 for (int i = 0; i < 10; ++i) in foo() local
8429 for (int i = 0; i < 10; ++i) { in foo() local
8438 for (int i = 0; i < 10; ++i) { in foo() local
8439 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
8447 for (int i = 0; i < 10; ++i) { in foo() local
8456 for (int i = 0; i < 10; ++i) { in foo() local
8465 for (int i = 0; i < 10; ++i) { in foo() local
8474 for (int i = 0; i < 10; ++i) { in foo() local
8486 for (int i = 0; i < 10; ++i) { in foo() local
8488 for (int i = 0; i < 10; ++i) in foo() local
8494 for (int i = 0; i < 10; ++i) { in foo() local
8496 for (int i = 0; i < 10; ++i) in foo() local
8502 for (int i = 0; i < 10; ++i) { in foo() local
8511 for (int i = 0; i < 10; ++i) { in foo() local
8520 for (int i = 0; i < 10; ++i) { in foo() local
8527 for (int i = 0; i < 10; ++i) { in foo() local
8534 for (int i = 0; i < 10; ++i) { in foo() local
8541 for (int i = 0; i < 10; ++i) { in foo() local
8548 for (int i = 0; i < 10; ++i) { in foo() local
8549 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'distribute' region;… in foo()
8555 for (int i = 0; i < 10; ++i) { in foo() local
8562 for (int i = 0; i < 10; ++i) { in foo() local
8563 #pragma omp target // expected-error {{region cannot be nested inside 'target' region}} in foo()
8569 for (int i = 0; i < 10; ++i) { in foo() local
8570 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
8576 for (int i = 0; i < 10; ++i) { in foo() local
8577 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
8578 for (int i = 0; i < 10; ++i) in foo() local
8584 for (int i = 0; i < 10; ++i) { in foo() local
8585 #pragma omp teams // expected-error {{region cannot be closely nested inside 'distribute' region; p… in foo()
8592 for (int i = 0; i < 10; ++i) { in foo() local
8593 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
8599 for (int i = 0; i < 10; ++i) { in foo() local
8600 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
8606 for (int i = 0; i < 10; ++i) { in foo() local
8607 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target' region}} in foo()
8613 for (int i = 0; i < 10; ++i) { in foo() local
8614 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'dis… in foo()
8615 for (int i = 0; i < 10; ++i) in foo() local
8621 for (int i = 0; i < 10; ++i) { in foo() local
8622 #pragma omp distribute parallel for simd // expected-error {{region cannot be closely nested inside… in foo()
8623 for (int i = 0; i < 10; ++i) in foo() local
8629 for (int i = 0; i < 10; ++i) { in foo() local
8630 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'distribute'… in foo()
8631 for (int i = 0; i < 10; ++i) in foo() local
8639 for (int i = 0; i < 10; ++i) { in foo() local
8640 #pragma omp distribute parallel for // expected-error {{region cannot be closely nested inside 'dis… in foo()
8641 for (int i = 0; i < 10; ++i) in foo() local
8648 for (int i = 0; i < 10; ++i) { in foo() local
8649 #pragma omp distribute // expected-error {{region cannot be closely nested inside 'distribute paral… in foo()
8650 for (int i = 0; i < 10; ++i) in foo() local
8656 for (int i = 0; i < 10; ++i) { in foo() local
8657 #pragma omp for // expected-error {{region cannot be closely nested inside 'distribute parallel for… in foo()
8658 for (int i = 0; i < 10; ++i) in foo() local
8664 for (int i = 0; i < 10; ++i) { in foo() local
8666 for (int i = 0; i < 10; ++i) in foo() local
8672 for (int i = 0; i < 10; ++i) { in foo() local
8673 #pragma omp for simd // expected-error {{region cannot be closely nested inside 'distribute paralle… in foo()
8674 for (int i = 0; i < 10; ++i) in foo() local
8680 for (int i = 0; i < 10; ++i) { in foo() local
8682 for (int i = 0; i < 10; ++i) in foo() local
8688 for (int i = 0; i < 10; ++i) { in foo() local
8689 #pragma omp sections // expected-error {{region cannot be closely nested inside 'distribute paralle… in foo()
8697 for (int i = 0; i < 10; ++i) { in foo() local
8698 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a section… in foo()
8706 for (int i = 0; i < 10; ++i) { in foo() local
8707 #pragma omp single // expected-error {{region cannot be closely nested inside 'distribute parallel … in foo()
8715 for (int i = 0; i < 10; ++i) { in foo() local
8716 #pragma omp master // expected-error {{region cannot be closely nested inside 'distribute parallel … in foo()
8724 for (int i = 0; i < 10; ++i) { in foo() local
8733 for (int i = 0; i < 10; ++i) { in foo() local
8745 for (int i = 0; i < 10; ++i) { in foo() local
8747 for (int i = 0; i < 10; ++i) in foo() local
8753 for (int i = 0; i < 10; ++i) { in foo() local
8755 for (int i = 0; i < 10; ++i) in foo() local
8761 for (int i = 0; i < 10; ++i) { in foo() local
8770 for (int i = 0; i < 10; ++i) { in foo() local
8779 for (int i = 0; i < 10; ++i) { in foo() local
8786 for (int i = 0; i < 10; ++i) { in foo() local
8787 #pragma omp barrier // expected-error {{region cannot be closely nested inside 'distribute parallel… in foo()
8793 for (int i = 0; i < 10; ++i) { in foo() local
8800 for (int i = 0; i < 10; ++i) { in foo() local
8807 for (int i = 0; i < 10; ++i) { in foo() local
8808 #pragma omp ordered // expected-error {{region cannot be closely nested inside 'distribute parallel… in foo()
8814 for (int i = 0; i < 10; ++i) { in foo() local
8821 for (int i = 0; i < 10; ++i) { in foo() local
8822 #pragma omp target // expected-error {{region cannot be nested inside 'target' region}} in foo()
8828 for (int i = 0; i < 10; ++i) { in foo() local
8829 #pragma omp target parallel // expected-error {{region cannot be nested inside 'target' region}} in foo()
8835 for (int i = 0; i < 10; ++i) { in foo() local
8836 #pragma omp target parallel for // expected-error {{region cannot be nested inside 'target' region}} in foo()
8837 for (int i = 0; i < 10; ++i) in foo() local
8843 for (int i = 0; i < 10; ++i) { in foo() local
8844 #pragma omp teams // expected-error {{region cannot be closely nested inside 'distribute parallel f… in foo()
8851 for (int i = 0; i < 10; ++i) { in foo() local
8852 #pragma omp target enter data map(to: a) // expected-error {{region cannot be nested inside 'target… in foo()
8858 for (int i = 0; i < 10; ++i) { in foo() local
8859 #pragma omp target exit data map(from: a) // expected-error {{region cannot be nested inside 'targe… in foo()
8865 for (int i = 0; i < 10; ++i) { in foo() local
8866 #pragma omp target update to(a) // expected-error {{region cannot be nested inside 'target' region}} in foo()
8872 for (int i = 0; i < 10; ++i) { in foo() local
8873 #pragma omp distribute simd // expected-error {{region cannot be closely nested inside 'distribute … in foo()
8874 for (int i = 0; i < 10; ++i) in foo() local
8882 for (int i = 0; i < 10; ++i) { in foo() local
8883 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
8884 for (int i = 0; i < 10; ++i) in foo() local
8890 for (int i = 0; i < 10; ++i) { in foo() local
8891 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
8892 for (int i = 0; i < 10; ++i) in foo() local
8898 for (int i = 0; i < 10; ++i) { in foo() local
8899 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8900 for (int i = 0; i < 10; ++i) in foo() local
8906 for (int i = 0; i < 10; ++i) { in foo() local
8907 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
8908 for (int i = 0; i < 10; ++i) in foo() local
8914 for (int i = 0; i < 10; ++i) { in foo() local
8915 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8916 for (int i = 0; i < 10; ++i) in foo() local
8922 for (int i = 0; i < 10; ++i) { in foo() local
8923 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8924 for (int i = 0; i < 10; ++i) in foo() local
8930 for (int i = 0; i < 10; ++i) { in foo() local
8931 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8939 for (int i = 0; i < 10; ++i) { in foo() local
8940 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8948 for (int i = 0; i < 10; ++i) { in foo() local
8949 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8957 for (int i = 0; i < 10; ++i) { in foo() local
8958 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8966 for (int i = 0; i < 10; ++i) { in foo() local
8967 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8975 for (int i = 0; i < 10; ++i) { in foo() local
8976 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
8987 for (int i = 0; i < 10; ++i) { in foo() local
8988 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
8989 for (int i = 0; i < 10; ++i) in foo() local
8995 for (int i = 0; i < 10; ++i) { in foo() local
8996 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
8997 for (int i = 0; i < 10; ++i) in foo() local
9003 for (int i = 0; i < 10; ++i) { in foo() local
9004 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
9012 for (int i = 0; i < 10; ++i) { in foo() local
9013 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9021 for (int i = 0; i < 10; ++i) { in foo() local
9022 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9028 for (int i = 0; i < 10; ++i) { in foo() local
9029 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9035 for (int i = 0; i < 10; ++i) { in foo() local
9036 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9042 for (int i = 0; i < 10; ++i) { in foo() local
9043 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9049 for (int i = 0; i < 10; ++i) { in foo() local
9050 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9056 for (int i = 0; i < 10; ++i) { in foo() local
9057 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9063 for (int i = 0; i < 10; ++i) { in foo() local
9064 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9070 for (int i = 0; i < 10; ++i) { in foo() local
9071 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
9077 for (int i = 0; i < 10; ++i) { in foo() local
9078 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9085 for (int i = 0; i < 10; ++i) { in foo() local
9086 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
9092 for (int i = 0; i < 10; ++i) { in foo() local
9093 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
9099 for (int i = 0; i < 10; ++i) { in foo() local
9100 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
9106 for (int i = 0; i < 10; ++i) { in foo() local
9107 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
9108 for (int i = 0; i < 10; ++i) in foo() local
9116 for (int i = 0; i < 10; ++i) { in foo() local
9117 #pragma omp distribute parallel for simd // expected-error {{OpenMP constructs may not be nested in… in foo()
9118 for (int i = 0; i < 10; ++i) in foo() local
9124 for (int i = 0; i < 10; ++i) { in foo() local
9125 #pragma omp distribute // expected-error {{OpenMP constructs may not be nested inside a simd region… in foo()
9126 for (int i = 0; i < 10; ++i) in foo() local
9132 for (int i = 0; i < 10; ++i) { in foo() local
9133 #pragma omp for // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9134 for (int i = 0; i < 10; ++i) in foo() local
9140 for (int i = 0; i < 10; ++i) { in foo() local
9141 #pragma omp simd // expected-warning {{OpenMP only allows an ordered construct with the simd clause… in foo()
9142 for (int i = 0; i < 10; ++i) in foo() local
9148 for (int i = 0; i < 10; ++i) { in foo() local
9149 #pragma omp for simd // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9150 for (int i = 0; i < 10; ++i) in foo() local
9156 for (int i = 0; i < 10; ++i) { in foo() local
9157 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9158 for (int i = 0; i < 10; ++i) in foo() local
9164 for (int i = 0; i < 10; ++i) { in foo() local
9165 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9173 for (int i = 0; i < 10; ++i) { in foo() local
9174 #pragma omp section // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9182 for (int i = 0; i < 10; ++i) { in foo() local
9183 #pragma omp single // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9191 for (int i = 0; i < 10; ++i) { in foo() local
9192 #pragma omp master // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9200 for (int i = 0; i < 10; ++i) { in foo() local
9201 #pragma omp critical // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9209 for (int i = 0; i < 10; ++i) { in foo() local
9210 #pragma omp parallel // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9221 for (int i = 0; i < 10; ++i) { in foo() local
9222 #pragma omp parallel for // expected-error {{OpenMP constructs may not be nested inside a simd regi… in foo()
9223 for (int i = 0; i < 10; ++i) in foo() local
9229 for (int i = 0; i < 10; ++i) { in foo() local
9230 #pragma omp parallel for simd // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
9231 for (int i = 0; i < 10; ++i) in foo() local
9237 for (int i = 0; i < 10; ++i) { in foo() local
9238 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd… in foo()
9246 for (int i = 0; i < 10; ++i) { in foo() local
9247 #pragma omp task // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9255 for (int i = 0; i < 10; ++i) { in foo() local
9256 #pragma omp taskyield // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9262 for (int i = 0; i < 10; ++i) { in foo() local
9263 #pragma omp barrier // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9269 for (int i = 0; i < 10; ++i) { in foo() local
9270 #pragma omp taskwait // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9276 for (int i = 0; i < 10; ++i) { in foo() local
9277 #pragma omp flush // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9283 for (int i = 0; i < 10; ++i) { in foo() local
9284 #pragma omp ordered // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9290 for (int i = 0; i < 10; ++i) { in foo() local
9291 #pragma omp atomic // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9297 for (int i = 0; i < 10; ++i) { in foo() local
9298 #pragma omp target // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9304 for (int i = 0; i < 10; ++i) { in foo() local
9305 #pragma omp target parallel // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
9311 for (int i = 0; i < 10; ++i) { in foo() local
9312 #pragma omp teams // expected-error {{OpenMP constructs may not be nested inside a simd region}} in foo()
9319 for (int i = 0; i < 10; ++i) { in foo() local
9320 #pragma omp target enter data map(to: a) // expected-error {{OpenMP constructs may not be nested in… in foo()
9326 for (int i = 0; i < 10; ++i) { in foo() local
9327 #pragma omp target exit data map(from: a) // expected-error {{OpenMP constructs may not be nested i… in foo()
9333 for (int i = 0; i < 10; ++i) { in foo() local
9334 #pragma omp target update to(a) // expected-error {{OpenMP constructs may not be nested inside a si… in foo()
9340 for (int i = 0; i < 10; ++i) { in foo() local
9341 #pragma omp distribute simd // expected-error {{OpenMP constructs may not be nested inside a simd r… in foo()
9342 for (int i = 0; i < 10; ++i) in foo() local