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.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [do_iterator.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 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
! { dg-error "Invalid character" "character" { target *-*-* } 7 }

powered by: WebSVN 2.1.0

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