Debian Codegraph @

flang/test/Preprocessing/pp015.F

raw
1 ! RUN: %flang -E %s 2>&1 | FileCheck %s
2 ! CHECK: res = ((666)+111)
3 * FLM call split between name and (, 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 = IFLM comment
15 +(666)
16 if (res .eq. 777) then
17 print *, 'pp015.F yes'
18 else
19 print *, 'pp015.F no: ', res
20 end if
21 end