mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-26 13:26:22 +00:00

And fix a minor bug exposed by doing so. Differential Revision: https://reviews.llvm.org/D85164
14 lines
358 B
Fortran
14 lines
358 B
Fortran
! RUN: %f18 -E %s 2>&1 | FileCheck %s
|
|
! CHECK: if(kwm2 .eq. 777) then
|
|
! KWM rescan with #undef, proving rescan after expansion
|
|
integer, parameter :: KWM2 = 777, KWM = 667
|
|
#define KWM2 666
|
|
#define KWM KWM2
|
|
#undef KWM2
|
|
if (KWM .eq. 777) then
|
|
print *, 'pp118.F90 yes'
|
|
else
|
|
print *, 'pp118.F90 no: ', KWM
|
|
end if
|
|
end
|