See test case. When Fortran line continuation has been used, don't insert spaces in -E formatted output to put things into the right column, as this can break up a token. Fixes https://github.com/llvm/llvm-project/issues/134986.
6 lines
135 B
Fortran
6 lines
135 B
Fortran
! RUN: %flang -E %s 2>&1 | FileCheck %s
|
|
! CHECK: print *, "HELLO "//" WORLD"
|
|
print *, "HELLO "/&
|
|
&/" WORLD"
|
|
end
|