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

9 lines
200 B
Fortran

! RUN: %S/test_errors.sh %s %t %flang_fc1
! REQUIRES: shell
subroutine s1
block
!ERROR: IMPLICIT statement is not allowed in a BLOCK construct
implicit logical(a)
end block
end subroutine