From: Tobias Schlüter Date: Fri, 9 Jul 2004 15:11:41 +0000 (+0200) Subject: * gfortran.dg/implicit_1.f90: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61ebeccf5d0aa7194753cad97082cbc3cbc49242;p=gcc.git * gfortran.dg/implicit_1.f90: New test. From-SVN: r84376 --- 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 +