Skip to content

Commit 40684cb

Browse files
committed
Add one more test
1 parent 1eb4b03 commit 40684cb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

flang/test/Semantics/OpenMP/ompx-bare.f90

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ subroutine test2
1515
end
1616

1717
subroutine test3
18+
integer i
19+
!ERROR: OMPX_BARE clause is only allowed on combined TARGET TEAMS
20+
!$omp target teams distribute ompx_bare
21+
do i = 0, 10
22+
end do
23+
!$omp end target teams distribute
24+
end
25+
26+
subroutine test4
1827
!No errors
1928
!$omp target teams ompx_bare
2029
!$omp end target teams

0 commit comments

Comments
 (0)