1 ! Test IO of arrays of integers in derived types
3 ! { dg-options "-std=legacy" }
7 character* 10000 :: buf1, buf2
17 foo(i)%y(j) = 100*i + 10*j
22 write (buf1, '(20i4)') foo
23 write (buf2, '(20i4)') (foo(i)%x, (foo(i)%y(j), j=1,3), foo(i)%z, i=1,4)
25 if (buf1.ne.buf2) call abort