summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/inquire_11.f90
blob: cc5e26d0908ae98f15b90e176a21b9d92adb850e (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! PR 33055 Runtime error in INQUIRE unit existance with -fdefault-integer-8
! Test case from PR33217 prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
MODULE print_it
CONTAINS
  SUBROUTINE i()
    LOGICAL :: qexist
    INQUIRE (UNIT=1, EXIST=qexist)
  END SUBROUTINE i
END MODULE print_it
! { dg-final { cleanup-modules "print_it" } }