1! RUN: %f18 -E %s 2>&1 | FileCheck %s 2! CHECK: res=((111)+666) 3* ## token pasting works in FLM 4 integer function IFLM(x) 5 integer :: x 6 IFLM = x 7 end function IFLM 8 program main 9 integer, parameter :: KWM = 668, KWM21 = 111, KWM1 = 669 10#define KWM1 111 11#define KWM2 33 12#define KWM KWM2 13#define IFLM(x) ((x##1)+6##6##6) 14 integer :: res 15 res = IFLM(KWM) 16 if (res .eq. 777) then 17 print *, 'pp026.F yes' 18 else 19 print *, 'pp026.F no: ', res 20 end if 21 end 22