1 ! Test that IOLENGTH works for dynamic arrays
4 ! 32 bit, i.e. 4 byte integer (every gcc architecture should have this?)
5 integer, parameter :: int32
= selected_int_kind(9)
6 integer(int32
), allocatable
:: a(:)
7 integer :: iol
, alength
12 inquire (iolength
= iol
) a
13 if ( 4*alength
/= iol
) then
16 end program iolength_1