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

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

15 lines
379 B
FortranFixed
Raw Normal View History

! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK-NOT:z=111
* #define directive amid continuations
integer, parameter :: KWM = 222, KWM111 = 333, KWM222 = 555
integer, parameter :: KWMKWM = 333
integer, parameter :: z = KWM
#define KWM 111
+KWM+444
if (z .EQ. 777) then
print *, 'yes'
else
print *, 'no', z
end if
end