2016-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/71686
* gfortran.dg/unexpected_eof_2.f90: New test.
* gfortran.dg/unexpected_eof_3.f90: New test.
From-SVN: r237861
+2016-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/71686
+ * gfortran.dg/unexpected_eof_2.f90: New test.
+ * gfortran.dg/unexpected_eof_3.f90: New test.
+
2016-06-29 Jim Wilson <jim.wilson@linaro.org>
* gcc.dg/asr_div1.c: Add aarch64 specific dg-options.
--- /dev/null
+! { dg-do compile }
+! PR71686
+program p
+ character(8) :: z
+ z = 'abc& ! { dg-error "Unterminated character constant" }
+!end
+! { dg-error "Unexpected end of file" "" { target *-*-* } 0 }
--- /dev/null
+! { dg-do compile }
+! PR71686
+program p
+ character(8) :: z = 'abc& ! { dg-error "Unterminated character constant" }
+!end
+! { dg-error "Unexpected end of file" "" { target *-*-* } 0 }