Debian Codegraph @

flang/test/Preprocessing/pp011.F

raw
1 ! RUN: %flang -E %s 2>&1 | FileCheck %s
2 ! CHECK: res = IFLM(666)
3 * FLM call name split across continuation, clipped
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 * 'comment' is in column 73
12 * 1 2 3 4 5 6 7
13 *234567890123456789012345678901234567890123456789012345678901234567890123
14 res = IFL comment
15 +M(666)
16 if (res .eq. 777) then
17 print *, 'pp011.F yes'
18 else
19 print *, 'pp011.F no: ', res
20 end if
21 end