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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! Tests the fix for 26074, in which the array reference below would
3
! be determined not to be constant within modules.
4
!
5
! Contributed by Jonathan Dursi  
6
!
7
module foo
8
 
9
   integer, parameter :: len = 5
10
   integer :: arr(max(len,1))
11
 
12
end
13
 
14
! { dg-final { cleanup-modules "foo" } }

powered by: WebSVN 2.1.0

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