summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.fortran-torture/execute/inquire_1.f90
blob: 8deb6b863b5dbdb5ef45f573d1ce211b71fddd1f (plain)
1
2
3
4
5
6
7
8
9
! PR 14831
       CHARACTER*4 BLANK
       CHARACTER*10 ACCESS
       OPEN(UNIT=9,ACCESS='SEQUENTIAL')
       INQUIRE(UNIT=9,ACCESS=ACCESS,BLANK=BLANK)
       IF(BLANK.NE.'NULL') CALL ABORT
       IF(ACCESS.NE.'SEQUENTIAL') CALL ABORT
       CLOSE(UNIT=9,STATUS='DELETE')
       END