1 ! Test IO of character arrays in derived types.
3 ! { dg-options "-std=legacy" }
6 character*1000 buf1
, buf2
8 character(12), dimension(13) :: name
= "hello world "
10 type (foo_type
) :: foo
11 ! foo = foo_type("hello world ")
13 write (buf2
,*) (foo
%name(i
), i
=1,13)
14 if (buf1
.ne
.buf2
) call abort