Debian Codegraph @

flang/test/Preprocessing/pp009.F

raw
1 ! RUN: %flang -E %s 2>&1 | FileCheck %s
2 ! CHECK: res = ((666)+111)
3 * FLM call split across continuation, implicit padding
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 = IFL
12 +M(666)
13 if (res .eq. 777) then
14 print *, 'pp009.F yes'
15 else
16 print *, 'pp009.F no: ', res
17 end if
18 end