AVR: tree-optimization/115307 - Work around isinf bloat from early passes.
[official-gcc.git] / gcc / testsuite / gfortran.dg / widechar_9.f90
blobc78a1eb52fd32678e192803905252f06149057fb
1 ! { dg-do compile }
3 ! PR fortran/37076
5 ! Before the result of concatenations was always a kind=1 string
7 program test3
8 integer,parameter :: u = 4
9 character(1,u),parameter :: nen=char(int(z'5e74'),u) !year
10 character(25,u) :: string
11 string = u_"2008"//nen
12 print *, u_"2008"//nen ! Compiles OK
13 print *, u_"2008"//nen//u_"8" ! Rejects this.
14 end program test3