15 lines
318 B
Fortran
15 lines
318 B
Fortran
|
|
! RUN: %f18 -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
|