URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [iolength_2.f90] - Rev 707
Go to most recent revision | Compare with Previous | Blame | View Log
! Test that IOLENGTH works for derived types containing arraysmodule iolength_2_modinteger, parameter :: &! 32 bit, i.e. 4 byte integer (every gcc architecture should have this?)int32 = selected_int_kind(9), &! IEEE double precision, i.e. 8 bytesdp = selected_real_kind(15, 307)type foo! This type should take up 5*4+4+8=32 bytesinteger(int32) :: a(5), breal(dp) :: cend type fooend module iolength_2_modprogram iolength_2use iolength_2_modimplicit noneinteger :: ioltype(foo) :: dinquire (iolength = iol) dif ( 32 /= iol) thencall abortend ifend program iolength_2
Go to most recent revision | Compare with Previous | Blame | View Log
