forked from OSchip/llvm-project
15 lines
371 B
Fortran
15 lines
371 B
Fortran
! 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
|