llvm-project/flang/test/Preprocessing/pp005.F

15 lines
338 B
Fortran

! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: res = 777
* KWM split across continuation, implicit padding
integer, parameter :: KWM = 666
#define KWM 777
integer :: res
res = KW
+M
if (res .eq. 777) then
print *, 'pp005.F yes'
else
print *, 'pp005.F no: ', res
end if
end