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
[AMDGPU] Assert if stack grows downwards. (#119888)
[llvm-project.git]
/
flang
/
test
/
Preprocessing
/
pp018.F
blob
6878384a674e7fcbe97bd026c26967ce5ecf8e26
1
! RUN: %flang -E %s 2>&1 | FileCheck %s
2
! CHECK: if (KWM2 .eq. 777) then
3
* KLM rescan with #undef (so rescan is after expansion)
4
integer, parameter :: KWM2 = 777, KWM = 667
5
#define KWM2 666
6
#define KWM KWM2
7
#undef KWM2
8
if (KWM .eq. 777) then
9
print *, 'pp018.F yes'
10
else
11
print *, 'pp018.F no: ', KWM
12
end if
13
end