OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [do_iterator.f90] - Rev 165

Go to most recent revision | Compare with Previous | Blame | View Log

! { dg-do compile }
! various checks which verify that we don't change do-iterators
DO I=1,5       ! { dg-error "cannot be redefined" "changing do-iterator 1" }
   I=1         ! { dg-error "cannot be redefined" "changing do-iterator 1" }
END DO
DO I=1,5       ! { dg-error "cannot be redefined" "changing do-iterator 2" }
   READ(5,*) I ! { dg-error "cannot be redefined" "changing do-iterator 2" }
END DO
DO I=1,5       ! { dg-error "cannot be redefined" "changing do-iterator 3" }
   READ(5,*,iostat=i) j ! { dg-error "cannot be redefined" "changing do-iterator 3" }
ENDDO
END

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.