Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/module_parameter_array_refs_1.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! Tests the fix for 26074, in which the array reference below would ! be determined not to be constant within modules. ! ! Contributed by Jonathan Dursi <ljdursi@cita.utoronto.ca> ! module foo integer, parameter :: len = 5 integer :: arr(max(len,1)) end