15 lines
320 B
Fortran
15 lines
320 B
Fortran
|
! RUN: %flang -E %s 2>&1 | FileCheck %s
|
||
|
! CHECK: res = KWM
|
||
|
! ditto, but without & ! comment
|
||
|
integer, parameter :: KWM = 666
|
||
|
#define KWM 777
|
||
|
integer :: res
|
||
|
res = KW&
|
||
|
M
|
||
|
if (res .eq. 777) then
|
||
|
print *, 'pp108.F90 yes'
|
||
|
else
|
||
|
print *, 'pp108.F90 no: ', res
|
||
|
end if
|
||
|
end
|