error_recovery_4.f90: New test.

2007-10-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* gfortran.dg/error_recovery_4.f90: New test.

From-SVN: r129060
This commit is contained in:
Jerry DeLisle 2007-10-06 23:47:34 +00:00
parent e0f6835db6
commit ed3caa48a8
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-10-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/error_recovery_4.f90: New test.
2007-10-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* gfortran.dg/default_format_denormal_2.f90: New test.

View File

@ -0,0 +1,5 @@
! { dg-do compile }
! PR33609 ICE on arithmetic overflow
! Before patch, this segfaulted.
print *, real(huge(1.0_8),4) ! { dg-error "Arithmetic overflow" }
end