summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr15959.f90
blob: c28dce5255e2aefe9375b49aded10d3644e09618 (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') call abort()
end