brintos

brintos / llvm-project-archived public Read only

0
0
Text · 357 B · 6878384 Raw
14 lines · plain
1! RUN: %flang -E %s 2>&1 | FileCheck %s2! CHECK: if (KWM2 .eq. 777) then3* KLM rescan with #undef (so rescan is after expansion)4      integer, parameter :: KWM2 = 777, KWM = 6675#define KWM2 6666#define KWM KWM27#undef KWM28      if (KWM  .eq. 777) then9        print *, 'pp018.F yes'10      else11        print *, 'pp018.F no: ', KWM12      end if13      end14