re PR fortran/34722 (ICE: left-over "@iostat" variable polutes namespace)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 11 Jan 2008 21:18:10 +0000 (21:18 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 11 Jan 2008 21:18:10 +0000 (21:18 +0000)
2008-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/34722
* gfortran.dg//inquire_12.f90: New test.

From-SVN: r131476

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/inquire_12.f90 [new file with mode: 0644]

index 85060ac..0977f2f 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/34722
+       * gfortran.dg//inquire_12.f90: New test.
+
 2008-01-11  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR libfortran/34670
diff --git a/gcc/testsuite/gfortran.dg/inquire_12.f90 b/gcc/testsuite/gfortran.dg/inquire_12.f90
new file mode 100644 (file)
index 0000000..4595fb5
--- /dev/null
@@ -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