diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/inquire_11.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/inquire_11.f90 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/inquire_11.f90 b/gcc/testsuite/gfortran.dg/inquire_11.f90 new file mode 100644 index 000000000..cc5e26d09 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/inquire_11.f90 @@ -0,0 +1,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" } } |