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

13 lines
362 B
Fortran

! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
subroutine s1
implicit none
!ERROR: IMPLICIT statement after IMPLICIT NONE or IMPLICIT NONE(TYPE) statement
implicit integer(a-z)
end subroutine
subroutine s2
implicit none(type)
!ERROR: IMPLICIT statement after IMPLICIT NONE or IMPLICIT NONE(TYPE) statement
implicit integer(a-z)
end subroutine