Commit a76135dc by Jerry DeLisle

re PR fortran/44371 (STOP parsing rejects valid code)

2010-06-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/44371
	* gfortran.dg/error_stop_2.f08: Minor update.

From-SVN: r160135
parent df842ed9
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/44371
* gfortran.dg/error_stop_2.f08: Minor update.
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/44371
* gfortran.dg/error_stop_1.f08: New test.
* gfortran.dg/error_stop_2.f08: New test.
......
......@@ -4,6 +4,7 @@
character(1) c, y
y = 'y'
read(y,*) c
if (c=='x') stop; if (c=='X') stop
if (c=='x') stop size(i); if (c=='X') stop
if (c=='y') stop size(i) if (c=='Y') stop ! { dg-error "Syntax error in STOP" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment