bolt/deps/llvm-18.1.8/flang/test/Semantics/implicit03.f90

13 lines
306 B
Fortran
Raw Normal View History

2025-02-14 19:21:04 +01:00
! RUN: %python %S/test_errors.py %s %flang_fc1
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