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
/
pp035.F
blob
c324fb60b3b0a53aa7f2ada0470e9e73f4282c84
1
! RUN: %flang -E %s 2>&1 | FileCheck %s
2
! CHECK: if (777 .eq. 777) then
3
! CHECK: print *, 'pp035.F no: ', 777
4
* #if 2 .LT. 3 works
5
integer, parameter :: KWM = 666
6
#if 2 .LT. 3
7
#define KWM 777
8
#else
9
#define KWM 667
10
#endif
11
if (KWM .eq. 777) then
12
print *, 'pp035.F yes'
13
else
14
print *, 'pp035.F no: ', KWM
15
end if
16
end