diff options
| -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 + |
