OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [char_array_constructor_2.f90] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR30319, in which the use of the parameter 'aa' in
3
! the array constructor that initialises bb would cause an internal
4
! error in resolution.
5
!
6
! Contributed by Vivek Rao 
7
!
8
module foomod
9
  character (len=1), parameter :: aa = "z", bb(1) = (/aa/)
10
end module foomod
11
  use foomod
12
  print *, aa, bb
13
end
14
! { dg-final { cleanup-modules "foomod" } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.