re PR fortran/30779 ([4.1, 4.2 only] incomplete file triggers ICE)

2007-02-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/30779
	* gfortran.dg/error_recovery_3.f90: New test.

From-SVN: r121983
This commit is contained in:
Jerry DeLisle 2007-02-15 06:51:42 +00:00
parent 0267ffdccb
commit 4e031e7e40
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/30779
* gfortran.dg/error_recovery_3.f90: New test.
2007-02-15 Alexandre Oliva <aoliva@redhat.com>
* g++.dg/tree-ssa/sra-1.C: New.

View File

@ -0,0 +1,9 @@
! { dg-do compile }
! PR30779 incomplete file triggers ICE.
! Note: This file is deliberately cut short to verify a graceful exit. Before
! the patch this gave ICE.
MODULE M1
INTEGER :: I
END MODULE M1
USE M1, ONLY: I,&! { dg-error "Missing" }