2 ! { dg-options "-fwhole-file -fcoarray=single" }
4 ! Procedures with dummy arguments that are coarrays or polymorphic
5 ! must have an explicit interface in the calling routine.
16 CLASS(t), POINTER :: tt
20 CALL coarray(coarr) ! { dg-error " must have an explicit interface" }
21 CALL polymorph(tt) ! { dg-error " must have an explicit interface" }
28 SUBROUTINE polymorph(b)
33 ! { dg-final { cleanup-modules "classtype" } }