From 61ebeccf5d0aa7194753cad97082cbc3cbc49242 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Schl=C3=BCter?= Date: Fri, 9 Jul 2004 17:11:41 +0200 Subject: [PATCH] * gfortran.dg/implicit_1.f90: New test. From-SVN: r84376 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/gfortran.dg/implicit_1.f90 | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/implicit_1.f90 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dd9974852e1..20cc4afb1a4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 index 00000000000..1ecddfa0b8d --- /dev/null +++ b/gcc/testsuite/gfortran.dg/implicit_1.f90 @@ -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 + -- 2.30.2