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!
7module foo
8
9   integer, parameter :: len = 5
10   integer :: arr(max(len,1))
11
12end
13