xref: /llvm-project/flang/test/Preprocessing/pp016.F (revision 3338ef93b02837edf69abc203e15a42fa55aa1b3)
1! RUN: %flang -E %s 2>&1 | FileCheck %s
2! CHECK: res = ((666)+111)
3* FLM call split between name and ( and in argument
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     +(66
13     +6)
14      if (res .eq. 777) then
15        print *, 'pp016.F yes'
16      else
17        print *, 'pp016.F no: ', res
18      end if
19      end
20