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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [data_array_3.f90] - Blame information for rev 310

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! PR32928 DATA statement with array element as initializer is rejected
3
integer, parameter,dimension(4) :: myint = [ 4,3,2,1 ]
4
integer :: a(5),b
5
data a(1:2) / myint(b), myint(2) / ! { dg-error "Invalid initializer" }
6
end

powered by: WebSVN 2.1.0

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