diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/g77/cpp3.F')
-rw-r--r-- | gcc/testsuite/gfortran.dg/g77/cpp3.F | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/g77/cpp3.F b/gcc/testsuite/gfortran.dg/g77/cpp3.F new file mode 100644 index 000000000..ab25b5329 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/g77/cpp3.F @@ -0,0 +1,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 |