summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/g77/cpp3.F
blob: ab25b532945782a21bcce1f21613fea88ddc7541 (plain)
1
2
3
4
5
6
7
8
c { dg-do run }
c { dg-options "-std=legacy" }
c
!  Some versions of cpp will delete "//'World' as a C++ comment.
      character*40    title
      title = 'Hello '//'World'
      if (title .ne. 'Hello World') call abort
      end