llvm-project/flang/test/Semantics/implicit08.f90

8 lines
193 B
Fortran

! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
subroutine s1
block
!ERROR: IMPLICIT statement is not allowed in a BLOCK construct
implicit logical(a)
end block
end subroutine