1 ! { dg-do run { target fd_truncate } }
2 ! PR34291 Segfault on &end in namelist expanded read of character
4 character(len
=10), dimension(2) :: var
7 open(unit
=11, status
='scratch')
9 write (11, *) "var(1)='hello'"
13 if (var(1) /= 'hello' .and
. var(2) /= 'goodbye') call abort
17 write (11, *) "var(1)='hello'"
21 if (var(1) /= 'hello' .and
. var(2) /= 'goodbye') call abort