Commit 715c9326 by Steven G. Kargl Committed by Steven G. Kargl

pr19936_1.f90: New test.

* gfortran.dg/pr19936_1.f90: New test.
* gfortran.dg/pr19936_2.f90: New test.
* gfortran.dg/pr19936_3.f90: New test.

From-SVN: r95952
parent 87ebdf2f
2005-03-05 Steven G. Kargl <kargls@comcast.net> 2005-03-05 Steven G. Kargl <kargls@comcast.net>
* gfortran.dg/pr19936_1.f90: New test.
* gfortran.dg/pr19936_2.f90: New test.
* gfortran.dg/pr19936_3.f90: New test.
2005-03-05 Steven G. Kargl <kargls@comcast.net>
Paul Thomas <prthomas@drfccad.cea.fr> Paul Thomas <prthomas@drfccad.cea.fr>
* PR19754_1.f90: New test. * PR19754_1.f90: New test.
......
! { dg-do compile }
program pr19936_1
integer, parameter :: i=4
print *,(/(i,i=1,4)/) ! { dg-error "Expected VARIABLE" }
end program pr19936_1
! { dg-do compile }
program pr19936_2
integer i
print *,(/(i,i=1a,4)/) ! { dg-error "Syntax error in iterator" }
end program pr19936_2
! { dg-do compile }
program pr19936_3
integer, parameter :: i = 4
print *,(/(i,i,4)/) ! { dg-error "Syntax error in COMPLEX" }
end program pr19936_3
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