mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 03:50:33 +08:00
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.
8 lines
195 B
Fortran
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
|