2 ! PR78659 Spurious "requires DTIO" reported against namelist statement
8 PROCEDURE
:: write_formatted
9 GENERIC
:: WRITE(FORMATTED
) => write_formatted
12 SUBROUTINE write_formatted(dtv
, unit
, iotype
, v_list
, iostat
, iomsg
)
13 CLASS(t
), INTENT(IN
) :: dtv
14 INTEGER, INTENT(IN
) :: unit
15 CHARACTER(*), INTENT(IN
) :: iotype
16 INTEGER, INTENT(IN
) :: v_list(:)
17 INTEGER, INTENT(OUT
) :: iostat
18 CHARACTER(*), INTENT(INOUT
) :: iomsg
19 WRITE (unit
, "(A)", IOSTAT
=iostat
, IOMSG
=iomsg
) dtv
%c
27 class(t
), allocatable
:: x
31 READ (*, nml
) ! { dg-error "is polymorphic and requires a defined input/output procedure" }