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

17 lines
565 B
Fortran

! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: res=kw
* fixed-form clipping done before KWM expansion on source line
integer, parameter :: KW = 777
#define KWM 666
integer :: res
* 'M' is in column 73
* 1 2 3 4 5 6 7
*234567890123456789012345678901234567890123456789012345678901234567890123
res = KWM
if (res .eq. 777) then
print *, 'pp028.F yes'
else
print *, 'pp028.F no: ', res
end if
end