repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
module_parameter_array_refs_1.f90
blob
9ef75d9e6910223df9783a4aee68d1f4e476a376
1
! { 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 <ljdursi@cita.utoronto.ca>
6
!
7
module
foo
8
9
integer
,
parameter
::
len
=
5
10
integer
::
arr
(
max
(
len
,
1
))
11
12
end