Debian Codegraph @

flang/test/Preprocessing/pp014.F

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