re PR fortran/46705 (Spurious "Missing '&' in continued character constant" warning occurs twice)
2010-12-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/46705 * gfortran.dg/continuation_12.f90: New test. From-SVN: r167717
This commit is contained in:
parent
696abb30d6
commit
9559dbc039
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-12-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/46705
|
||||
* gfortran.dg/continuation_12.f90: New test.
|
||||
|
||||
2010-12-11 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/46370
|
||||
|
|
8
gcc/testsuite/gfortran.dg/continuation_12.f90
Normal file
8
gcc/testsuite/gfortran.dg/continuation_12.f90
Normal file
|
@ -0,0 +1,8 @@
|
|||
! { dg-do run }
|
||||
! PR46705 Spurious "Missing '&' in continued character constant" warning occurs twice
|
||||
character(15) :: astring
|
||||
1 FORMAT (''&
|
||||
' abcdefg x')
|
||||
write(astring, 1)
|
||||
if (astring.ne."' abcdefg x") call abort
|
||||
END
|
Loading…
Add table
Reference in a new issue