2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr21730.f
blob1fe19edfae4d4a34ede8d14af23fb3b7e9a9d052
1 ! PR fortran/21730
2 ! { dg-do run }
3 ! { dg-options "-std=legacy" }
5 character*2 a
6 character*4 b
7 character*6 c
8 parameter (a="12")
9 parameter (b = a)
10 write (c,'("#",A,"#")') b
11 if (c .ne. '#12 #') call abort
12 end