Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/char_array_constructor_2.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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