Peter Klausler c189852218
[flang] Ignore empty keyword macros before directives (#130333)
Ignore any keyword macros with empty directives that might appear before
a compiler directive.

Fixes https://github.com/llvm/llvm-project/issues/126459.
2025-03-10 13:21:10 -07:00

6 lines
108 B
Fortran

! RUN: %flang -E -fopenmp %s 2>&1 | FileCheck %s
!CHECK: NDIR=0
#define BLANKMACRO
BLANKMACRO !$ NDIR=0
end