bolt/deps/llvm-18.1.8/flang/test/Preprocessing/pp107.F90

15 lines
371 B
Fortran
Raw Normal View History

2025-02-14 19:21:04 +01:00
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: res = KWM
! KWM call name split across continuation, no leading &, with & ! comment
integer, parameter :: KWM = 666
#define KWM 777
integer :: res
res = KW& ! comment
M
if (res .eq. 777) then
print *, 'pp107.F90 yes'
else
print *, 'pp107.F90 no: ', res
end if
end