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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [data_array_2.f90] - Blame information for rev 816

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)
5
data a(1:2) / myint(a(1)), 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.