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

13 lines
288 B
Fortran

! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
subroutine s1
implicit none
!ERROR: More than one IMPLICIT NONE statement
implicit none(type)
end subroutine
subroutine s2
implicit none(external)
!ERROR: More than one IMPLICIT NONE statement
implicit none
end subroutine