bolt/deps/llvm-18.1.8/flang/test/Preprocessing/pp005.F

15 lines
338 B
FortranFixed
Raw Normal View History

2025-02-14 19:21:04 +01:00
! 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