2 ! PR 21875 : Test formatted input/output to/from character arrays.
3 ! This test deliberately exceeds the record length in a write and verifies
4 ! the error message. Contributed by Jerry DeLisle <jvdelisle@verizon.net>.
8 character(12) :: r(4,2) = '0123456789AB'
10 ! Write using a format string that defines a record greater than
11 ! the length of an element in the character array.
14 write(r
,'(3(2x,i4/)/3(4x,i9/))', iostat
=ierr
) i
15 if (ierr
.ne
.-2) call abort()