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
This commit is contained in:
parent
87ebdf2fab
commit
715c9326eb
|
@ -1,3 +1,10 @@
|
|||
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>
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
! { dg-do compile }
|
||||
program pr19936_1
|
||||
integer, parameter :: i=4
|
||||
print *,(/(i,i=1,4)/) ! { dg-error "Expected VARIABLE" }
|
||||
end program pr19936_1
|
|
@ -0,0 +1,5 @@
|
|||
! { dg-do compile }
|
||||
program pr19936_2
|
||||
integer i
|
||||
print *,(/(i,i=1a,4)/) ! { dg-error "Syntax error in iterator" }
|
||||
end program pr19936_2
|
|
@ -0,0 +1,5 @@
|
|||
! { dg-do compile }
|
||||
program pr19936_3
|
||||
integer, parameter :: i = 4
|
||||
print *,(/(i,i,4)/) ! { dg-error "Syntax error in COMPLEX" }
|
||||
end program pr19936_3
|
Loading…
Reference in New Issue