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

14 lines
351 B
Fortran

! RUN: %f18 -E %s 2>&1 | FileCheck %s
! CHECK: if(777.eq.777)then
! CHECK: print*,'pp033.F no: ',777
* /* C comment \ newline */ erased from #define
integer, parameter :: KWM = 666
#define KWM 77/* C comment \
*/7
if (KWM .eq. 777) then
print *, 'pp033.F yes'
else
print *, 'pp033.F no: ', KWM
end if
end