* gfortran.dg/implicit_1.f90: New test.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Fri, 9 Jul 2004 15:11:41 +0000 (17:11 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Fri, 9 Jul 2004 15:11:41 +0000 (17:11 +0200)
From-SVN: r84376

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

index dd9974852e1ee5e3cb5002e0017dacb9532e6292..20cc4afb1a4ff72f4a861d61b79955de7eb5a9bd 100644 (file)
@@ -5,6 +5,8 @@
        PR fortran/13575
        PR fortran/15978
        * gfortran.fortran-torture/compile/implicit_2.f90: New test.
+
+       * gfortran.dg/implicit_1.f90: New test.
        
 2004-07-09  David Billinghurst (David.Billinghurst@riotinto.com)
 
diff --git a/gcc/testsuite/gfortran.dg/implicit_1.f90 b/gcc/testsuite/gfortran.dg/implicit_1.f90
new file mode 100644 (file)
index 0000000..1ecddfa
--- /dev/null
@@ -0,0 +1,11 @@
+! { dg-do compile }
+! PR 13575 -- we used to not see that c0 has no type, and then ICE later
+module AHFinder_dat 
+implicit none 
+save c0 ! { dg-error "no IMPLICIT type" "no IMPLICIT type" }
+end module AHFinder_dat
+! PR 15978 -- we used to not see that aaa has no type, and then ICE later
+implicit none
+common/rommel/aaa ! { dg-error "no IMPLICIT type" "no IMPLICIT type" }
+end
+