llvm-capstone/flang/test/Semantics/canondo07.f90
Richard Barton b537c81b5f [flang] Port remaining test_any.sh tests to FileCheck
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
2020-06-26 19:35:14 +01:00

11 lines
293 B
Fortran

! Error test -- DO loop uses obsolete loop termination statement
! See R1131 and C1131
! RUN: %f18 -funparse-with-symbols -Mstandard %s 2>&1 | FileCheck %s
! CHECK: A DO loop should terminate with an END DO or CONTINUE
program endDo
do 10 i = 1, 5
10 print *, "in loop"
end program endDo