aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/continuation_11.f90
blob: d8cd46b8a17b671696557386f4259fb33f08b7f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do run }
! { dg-options "-Wall -pedantic" }
! Before a bogus warning was printed
!
! PR fortran/39811
!
implicit none
character(len=70) :: str
write(str,'(a)') 'Print rather a lot of ampersands &&&&&
   &&&&&
   &&&&&'
if (len(trim(str)) /= 44 &
    .or. str /= 'Print rather a lot of ampersands &&&&&&&&&&&') &
    call abort()
end