Port the remaining tests which only require mechanical changes and delete
test_any.sh.
* Delete old RUN lines
* Replace:
EXEC: ${F18} ... | ${FileCheck} ...
with
RUN: %f18 .. | FileCheck ...
* Prepend RUN line with not when it is expected to fail
Also reinstate a de-activated EXEC line and port it in the same way.
Differential Revision: https://reviews.llvm.org/D82168
21 lines
499 B
Fortran
21 lines
499 B
Fortran
|
|
! RUN: not %f18 -funparse-with-symbols %s 2>&1 | FileCheck %s
|
|
! CHECK: CYCLE construct-name is not in scope
|
|
! CHECK: IF construct name unexpected
|
|
! CHECK: unnamed IF statement
|
|
! CHECK: DO construct name mismatch
|
|
! CHECK: should be
|
|
|
|
subroutine sub00(a,b,n,m)
|
|
real a(n,m)
|
|
real b(n,m)
|
|
labelone: do i = 1, m
|
|
labeltwo: do j = 1, n
|
|
50 a(i,j) = b(i,j) + 2.0
|
|
if (n .eq. m) then
|
|
cycle label3
|
|
end if label3
|
|
60 end do labeltwo
|
|
end do label1
|
|
end subroutine sub00
|