re PR fortran/31495 (Is this continuation line legal?)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 21 Apr 2007 22:00:38 +0000 (22:00 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 21 Apr 2007 22:00:38 +0000 (22:00 +0000)
2007-04-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/31495
* gfortran.dg/continuation_8.f90: New test.

From-SVN: r124026

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/continuation_8.f90 [new file with mode: 0644]

index e5772ffb52f855103a4572fa25cee09d24c06f25..44a2bbb81f29a9833193299b202c4f99b17fd85c 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/31495
+       * gfortran.dg/continuation_8.f90: New test.
+
 2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        PR C/30265
diff --git a/gcc/testsuite/gfortran.dg/continuation_8.f90 b/gcc/testsuite/gfortran.dg/continuation_8.f90
new file mode 100644 (file)
index 0000000..251af99
--- /dev/null
@@ -0,0 +1,9 @@
+! { dg-do run }
+! PR31495 Is this continuation legal? 
+program print_ascertain
+character (len=50) :: str
+str = "hello world &
+&    &
+&!"
+if (str.ne."hello world     !") call abort
+end program print_ascertain