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

17 lines
377 B
Fortran

* FLM call split across continuation, implicit padding
integer function IFLM(x)
integer :: x
IFLM = x
end function IFLM
program main
#define IFLM(x) ((x)+111)
integer :: res
res = IFL
+M(666)
if (res .eq. 777) then
print *, 'pp009.F pass'
else
print *, 'pp009.F FAIL: ', res
end if
end