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