
When a fixed form source line begins with the name of a macro, don't emit the usual warning message about a non-decimal character in the label field. (The check for a macro was only being applied to free form source lines, and the label field checking was unconditional). Fixes https://github.com/llvm/llvm-project/issues/116914.
6 lines
143 B
Fortran
6 lines
143 B
Fortran
! RUN: %flang -E %s 2>&1 | FileCheck %s
|
|
! CHECK-NOT: Character in fixed-form label field must be a digit
|
|
#define KWM !
|
|
KWM a comment
|
|
end
|