
Some vector indexing code in the preprocessor fails with empty tokens or token sequences in predefined macros. Fixes https://github.com/llvm/llvm-project/issues/64837. Differential Revision: https://reviews.llvm.org/D158451
5 lines
125 B
Fortran
5 lines
125 B
Fortran
! RUN: %flang -E -DMACRO= %s 2>&1 | FileCheck %s
|
|
!CHECK: integer, parameter :: p = +1
|
|
integer, parameter :: p = MACRO +1
|
|
end
|