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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
300 B
FortranFixed
Raw Normal View History

! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: kwm=666
! CHECK: if(777.eq.777)then
* #DEFINE works in fixed form
integer, parameter :: KWM = 666
#DEFINE KWM 777
if (KWM .eq. 777) then
print *, 'pp027.F yes'
else
print *, 'pp027.F no: ', KWM
end if
end