summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/continuation_12.f90
blob: 3d1f004631aea47a70b79429b4b8c10a719a8d3b (plain)
1
2
3
4
5
6
7
8
! { dg-do run }
! PR46705 Spurious "Missing '&' in continued character constant" warning occurs twice
character(15) :: astring
1 FORMAT (''&
   ' abcdefg x')
write(astring, 1)
if (astring.ne."' abcdefg x") STOP 1
END