summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/Wall.f90
blob: 64c95a9c094613d1aee7af38d492b2c709464bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do run }
! { dg-options -Wall }
! PR 30437  Test for Wall
program main
  character (len=40) &
  c
  c = "Hello, &
         world!" ! { dg-warning "Missing '&' in continued character constant" }
  if (c.ne.&
                                   "Hello, world!")&
                               call abort();end program main