bolt/deps/llvm-18.1.8/flang/test/Semantics/resolve16.f90
2025-02-14 19:21:04 +01:00

14 lines
280 B
Fortran

! RUN: %python %S/test_errors.py %s %flang_fc1
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