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

14 lines
319 B
Fortran

! RUN: %S/test_errors.sh %s %t %flang_fc1
! REQUIRES: shell
subroutine s1
implicit integer(a-z)
!ERROR: IMPLICIT NONE statement after IMPLICIT statement
implicit none
end subroutine
subroutine s2
implicit integer(a-z)
!ERROR: IMPLICIT NONE(TYPE) after IMPLICIT statement
implicit none(type)
end subroutine