summaryrefslogtreecommitdiff
path: root/flang/test/Parser/OpenMP/tile-fail.f90
diff options
context:
space:
mode:
Diffstat (limited to 'flang/test/Parser/OpenMP/tile-fail.f90')
-rw-r--r--flang/test/Parser/OpenMP/tile-fail.f905
1 files changed, 2 insertions, 3 deletions
diff --git a/flang/test/Parser/OpenMP/tile-fail.f90 b/flang/test/Parser/OpenMP/tile-fail.f90
index 0a92e5bcb657..3cb0ea96975c 100644
--- a/flang/test/Parser/OpenMP/tile-fail.f90
+++ b/flang/test/Parser/OpenMP/tile-fail.f90
@@ -14,11 +14,10 @@ end subroutine
!--- stray_end2.f90
-! Semantic error
subroutine stray_end2
print *
- !CHECK: error: The END TILE directive must follow the DO loop associated with the loop construct
+ !CHECK: error: expected 'END'
!$omp end tile
end subroutine
@@ -26,7 +25,7 @@ end subroutine
!--- stray_begin.f90
subroutine stray_begin
- !CHECK: error: A DO loop must follow the TILE directive
+ !CHECK: error: OpenMP loop construct should contain a DO-loop or a loop-nest-generating OpenMP construct
!$omp tile sizes(2)
end subroutine