rt_gccstream/gcc/testsuite/gfortran.dg/g77/cpp3.F

9 lines
231 B
Fortran

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