3 ! Tests runtime check of the required type in dtio formatted read.
9 type, extends(udt
) :: more
10 integer :: itest
= -25
19 class (more
), allocatable
:: somemore
20 integer :: thesize
, i
, ios
21 character(100) :: errormsg
23 read (10, fmt
='(dt)', advance
='no', size
=thesize
, iostat
=ios
, &
24 & iomsg
=errormsg
) i
, udt1
25 if (ios
.ne
.5006) STOP 1
26 if (errormsg(27:47).ne
."intrinsic type passed") STOP 2