1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=50
4 ! Check OpenMP construct validity for the following directives:
11 !ERROR: `BIND(TEAMS)` must be specified since the `LOOP` region is strictly nested inside a `TEAMS` region.
12 !$omp loop bind(thread)
19 !ERROR: `BIND(TEAMS)` must be specified since the `LOOP` directive is combined with a `TEAMS` construct.
20 !$omp target teams loop bind(thread)
24 !$omp end target teams loop
26 !ERROR: `BIND(TEAMS)` must be specified since the `LOOP` directive is combined with a `TEAMS` construct.
27 !$omp teams loop bind(thread)