aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr15959.f90
blob: b7f3719dfe4ae452c2451d12fc9c3f4c266e9e55 (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