URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [char_array_constructor_2.f90] - Rev 154
Compare with Previous | Blame | View Log
! { dg-do compile }
! Tests the fix for PR30319, in which the use of the parameter 'aa' in
! the array constructor that initialises bb would cause an internal
! error in resolution.
!
! Contributed by Vivek Rao <vivekrao4@yahoo.com>
!
module foomod
character (len=1), parameter :: aa = "z", bb(1) = (/aa/)
end module foomod
use foomod
print *, aa, bb
end
! { dg-final { cleanup-modules "foomod" } }