1 ! { dg-do run "xfail *-*-*" }
2 ! { dg-options "-fdec" }
4 ! Test that we get a run-time error for close-on-delete with READONLY.
10 character(*), parameter :: f
= "test.txt"
12 open(unit
=fd
,file
=f
,action
='read',readonly)
13 close(unit
=fd
,status
='delete') ! XFAIL "protected by READONLY"