aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/pr22491.f
blob: 70210f6b095c3730df3ac643ae28595c41b7ae13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! PR fortran/21730
! { dg-do run }
! { dg-options "-std=legacy" }
!
      character*2 a (1)
      character*4 b (1)
      character*6 c
      parameter (a="12")
      parameter (b = a)
      write (c,'("#",A,"#")') b
      if (c .ne. '#12  #') call abort
      end