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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
269 B
Fortran
Raw Normal View History

! RUN: %S/test_errors.sh %s %t %f18
module m
interface
subroutine sub0
end
!ERROR: A PROCEDURE statement is only allowed in a generic interface block
procedure :: sub1, sub2
end interface
contains
subroutine sub1
end
subroutine sub2
end
end