Debian Codegraph @

flang/test/Preprocessing/pp010.F

raw
1 ! RUN: %flang -E %s 2>&1 | FileCheck %s
2 ! CHECK: res = ((666)+111)
3 * ditto, but with intervening *comment line
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 *comment
13 +M(666)
14 if (res .eq. 777) then
15 print *, 'pp010.F yes'
16 else
17 print *, 'pp010.F no: ', res
18 end if
19 end