1 2 3 4 5 6 7 8
! { dg-do run } ! Test reopening with io status='old' program iostatus open (1, file='foo', status='replace') ! Make sure file exists. open (1, file='foo', status='old') open (1, file='foo', status='old') close (1, status='delete') end program iostatus