diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/inquire_12.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/inquire_12.f90 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/inquire_12.f90 b/gcc/testsuite/gfortran.dg/inquire_12.f90 new file mode 100644 index 000000000..4595fb568 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/inquire_12.f90 @@ -0,0 +1,13 @@ +! { dg-do compile } +! PR34722 ICE: left-over "@iostat" variable polutes namespace +program gamsanal +implicit none +character :: tmp +integer iodict +logical dicexist +inquire(unit=iodict, exist=dicexist) +end + +subroutine inventnames() +implicit none +end subroutine
\ No newline at end of file |