From: Jerry DeLisle Date: Sat, 14 Jun 2008 04:39:11 +0000 (+0000) Subject: re PR libfortran/36538 (namelist failure with tabs preceding object name) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74bae98e59788f0fd3466aeecb9f549f9afc66e5;p=gcc.git re PR libfortran/36538 (namelist failure with tabs preceding object name) 2008-06-14 Jerry DeLisle PR fortran/36538 * gfortran.dg: namelist_48.f90: New test. From-SVN: r136777 --- 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 + + PR fortran/36538 + * gfortran.dg: namelist_48.f90: New test. + 2008-06-14 Simon Martin 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