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][openacc] Use OpenACC terminator instead of fir.unreachable after Stop stmt...
[llvm-project.git]
/
flang
/
test
/
Preprocessing
/
pp118.F90
blob
8ac32ad3dbef6fd56218da38028ce1ea704d636d
1
! RUN: %flang -E %s 2>&1 | FileCheck %s
2
! CHECK: if (KWM2 .eq. 777) then
3
! KWM rescan with #undef, proving rescan 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 *, 'pp118.F90 yes'
10
else
11
print *, 'pp118.F90 no: ', KWM
12
end if
13
end