repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[flang] Accept polymorphic component element in storage_size
[llvm-project.git]
/
flang
/
test
/
Preprocessing
/
pp112.F90
blob
16705527f68c319ff62ca21832d8851e3927d683
1
! RUN: %flang -E %s 2>&1 | FileCheck %s
2
! CHECK: res = IFLM (666)
3
! ditto, but without & ! 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 = IFL&
12
M(666)
13
if (res .eq. 777) then
14
print *, 'pp112.F90 yes'
15
else
16
print *, 'pp112.F90 no: ', res
17
end if
18
end