summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr15959.f90
blob: 86518115448526d580b94e0e91b85abbeba372e4 (plain)
1
2
3
4
5
! { dg-do run }
! Test initializer of character array. PR15959
character (*), parameter :: a (1:2) = (/'ab ', 'abc'/)
if (a(2) .ne. 'abc') STOP 1
end