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 "Explicit interface required" }
21 CALL polymorph(tt) ! { dg-error "Explicit interface required" }
28 SUBROUTINE polymorph(b)