re PR fortran/30532 (^Z as EOF?)

2007-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/30532
	* gfortran.dg/ctrl-z.f90:  New test.
	
2007-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/30481
	* gfortran.dg/namelist_assumed_char.f90:  New test.

From-SVN: r121100
This commit is contained in:
Jerry DeLisle 2007-01-24 02:02:52 +00:00
parent cecc123540
commit fc37690329
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,13 @@
2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/30532
* gfortran.dg/ctrl-z.f90: New test.
2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/30481
* gfortran.dg/namelist_assumed_char.f90: New test.
2007-01-23 Simon Martin <simartin@users.sourceforge.net>
PR c++/27492

View File

@ -0,0 +1,5 @@
! { dg-do compile }
! PR 30532 Ctrl-Z in source file
! Test case from PR. Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>
print *,""
end

View File

@ -0,0 +1,7 @@
! { dg-do compile }
! PR30481 Assumed size character is not allowed in namelist.
! Test case from PR, submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>
subroutine foo(c)
character*(*) c
namelist /abc/ c ! { dg-error "Assumed character length" }
end subroutine