OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [do_iterator.f90] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! various checks which verify that we don't change do-iterators
3
DO I=1,5       ! { dg-error "cannot be redefined" "changing do-iterator 1" }
4
   I=1         ! { dg-error "cannot be redefined" "changing do-iterator 1" }
5
END DO
6
DO I=1,5       ! { dg-error "cannot be redefined" "changing do-iterator 2" }
7
   READ(5,*) I ! { dg-error "cannot be redefined" "changing do-iterator 2" }
8
END DO
9
DO I=1,5       ! { dg-error "cannot be redefined" "changing do-iterator 3" }
10
   READ(5,*,iostat=i) j ! { dg-error "cannot be redefined" "changing do-iterator 3" }
11
ENDDO
12
END
13
 

powered by: WebSVN 2.1.0

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