2 ! Wide chracter I/O test 1, formatted and mixed kind
3 ! Test case developed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
5 integer, parameter :: k4
= 4
6 character(len
=10,kind
=4) :: wide
7 character(len
=10,kind
=1) :: thin
8 character(kind
=1,len
=25) :: buffer
11 write(buffer
, '(a)') wide
12 if (buffer
/= "Goodbye!") call abort
13 open(10, form
="formatted", access
="stream", status
="scratch")
17 if (wide
/= k4_
"Hello!") call abort
18 write(buffer
,*) thin
, ">",wide
,"<"
19 if (buffer
/= " Hello! >Hello! <") call abort