Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.dg / module_parameter_array_refs_1.f90
blob592e2f3dd2a20af5507e5040edc356fed91e6b4a
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.
5 ! Contributed by Jonathan Dursi <ljdursi@cita.utoronto.ca>
7 module foo
9 integer, parameter :: len = 5
10 integer :: arr(max(len,1))
12 end
14 ! { dg-final { cleanup-modules "foo" } }