URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [char_type_len.f90] - Rev 384
Compare with Previous | Blame | View Log
! { dg-do run }
! Testcase for PR fortran/25681
program char_type_len
integer,parameter :: n = 9
type foo_t
character (len = 80) :: bar (1)
character (len = 75) :: gee (n)
end type foo_t
type(foo_t) :: foo
if (len(foo%bar) /= 80 .or. len(foo%gee) /= 75) call abort
end program char_type_len