• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1! RUN: %f18 -E %s 2>&1 | FileCheck %s
2! CHECK: res = iflm (666)
3! FLM call split between name and (, no leading &
4      integer function IFLM(x)
5        integer :: x
6        IFLM = x
7      end function IFLM
8      program main
9#define IFLM(x) ((x)+111)
10      integer :: res
11      res = IFLM&
12(666)
13      if (res .eq. 777) then
14        print *, 'pp116.F90 yes'
15      else
16        print *, 'pp116.F90 no: ', res
17      end if
18      end
19