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
/
pp022.F
blob
e940efa3fb9d341b1a3a62824f72e0dbb7ad54d7
1
! RUN: %flang -E %s 2>&1 | FileCheck %s
2
! CHECK: ch = "KWM"
3
! CHECK: if (ch .eq. 'KWM') then
4
* KWM NOT expanded in "literal"
5
#define KWM 666
6
character(len=3) :: ch
7
ch = "KWM"
8
if (ch .eq. 'KWM') then
9
print *, 'pp022.F yes'
10
else
11
print *, 'pp022.F no: ', ch
12
end if
13
end