Files
clang-p2996/flang/test/Preprocessing/backslash-contin1.F90
Peter Klausler 8b512e525d [flang][preprocessor] Support \ as line continuation (#89970)
When prescanning a Fortran source file with preprocessing enabled in
free source form, interpret a line-ending backslash as a source line
continuation marker as a C preprocessor would. This usage isn't
completely portable, but it is supported by GNU Fortran and appears in
the source for FPM package manager.
2024-04-24 15:47:29 -07:00

9 lines
124 B
Fortran

! RUN: %flang -E %s | FileCheck %s
print *, \
"hello, \
world"
end
!CHECK: print *, "hello, world"
!CHECK: end