31 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=512 3subroutine test14!ERROR: OMPX_BARE clause is only allowed on combined TARGET TEAMS5 !$omp target ompx_bare6 !$omp end target7end8 9subroutine test210 !$omp target11!ERROR: OMPX_BARE clause is only allowed on combined TARGET TEAMS12 !$omp teams ompx_bare13 !$omp end teams14 !$omp end target15end16 17subroutine test318 integer i19!ERROR: OMPX_BARE clause is only allowed on combined TARGET TEAMS20 !$omp target teams distribute ompx_bare21 do i = 0, 1022 end do23 !$omp end target teams distribute24end25 26subroutine test427!No errors28 !$omp target teams ompx_bare29 !$omp end target teams30end31