Files
llvm/flang/test/Preprocessing/bug117297.F90
Peter Klausler dfbc80febb [flang] Fix continuation when line begins with empty macro expansion (#117407)
A free form source line that begins with a macro should still be
classified as a source line, and have its continuation lines work, even
if the macro expands to an empty replacement.

Fixes https://github.com/llvm/llvm-project/issues/117297.
2024-12-02 12:26:07 -08:00

8 lines
195 B
Fortran

! RUN: %flang -E %s 2>&1 | FileCheck %s
!CHECK: CALL myfunc( 'hello ' // 'world' // 'again')
#define NOCOMMENT
NOCOMMENT CALL myfunc( 'hello ' // &
NOCOMMENT 'world' // &
NOCOMMENT 'again' )
end