diff options
author | Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> | 2004-07-09 17:11:41 +0200 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-07-09 17:11:41 +0200 |
commit | 61ebeccf5d0aa7194753cad97082cbc3cbc49242 (patch) | |
tree | 4c30ab886633fc447e38a3690002b6a361490e86 | |
parent | e4314fac874e24c0c6dad328d0efc04f667a8827 (diff) | |
download | gcc-61ebeccf5d0aa7194753cad97082cbc3cbc49242.zip gcc-61ebeccf5d0aa7194753cad97082cbc3cbc49242.tar.gz gcc-61ebeccf5d0aa7194753cad97082cbc3cbc49242.tar.bz2 |
* gfortran.dg/implicit_1.f90: New test.
From-SVN: r84376
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/implicit_1.f90 | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dd99748..20cc4af 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 0000000..1ecddfa --- /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 + |