blob: f4887bf815b5f8a45de89739c0759733c6bb1eae [file] [log] [blame]
! PR libfortran/23784
! { dg-do run }
integer i
close(10, status="whatever", iostat=i) ! { dg-warning "STATUS specifier in CLOSE statement.*has invalid value" }
if (i == 0) STOP 1
write(17,*) 'foo'
close(17, status="delete")
end