diff options
author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-14 04:39:11 +0000 |
---|---|---|
committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-14 04:39:11 +0000 |
commit | a719c332937af59278a080f7cd620b9d06849b5c (patch) | |
tree | 7bf24eb44c3c735390c1a4913fc7885cd1c4b6fa | |
parent | 421edd8c1e0e0270e347f2d442ec43fbd25ac334 (diff) | |
download | gcc-a719c332937af59278a080f7cd620b9d06849b5c.tar.gz |
2008-06-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/36538
* gfortran.dg: namelist_48.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136777 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/namelist_48.f90 | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 507416c040e..c68ba414467 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-06-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/36538 + * gfortran.dg: namelist_48.f90: New test. + 2008-06-14 Simon Martin <simartin@users.sourceforge.net> PR c++/35317 diff --git a/gcc/testsuite/gfortran.dg/namelist_48.f90 b/gcc/testsuite/gfortran.dg/namelist_48.f90 new file mode 100644 index 00000000000..e9a29285b17 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/namelist_48.f90 @@ -0,0 +1,15 @@ +! { dg-do run } +! { dg-options "-fbackslash" } +! PR36538 namelist failure with tabs preceding object name + program check1 + integer x + namelist/casein/x + open(1, status="scratch") + write(1,'(a)') "&CASEIN" + write(1,'(a)') "\t\tx = 1" + write(1,'(a)') "/" + rewind(1) + x = 0 + read(1,casein) + if (x.ne.1) call abort + end |