summaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp102.F90
blob: 843f0f10bbb582cb60e6a1759ce7a1addebc8677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: if (KWM .eq. 777) then
! #undef
      integer, parameter :: KWM = 777
#define KWM 666
#undef KWM
      if (KWM .eq. 777) then
        print *, 'pp102.F90 yes'
      else
        print *, 'pp102.F90 no: ', KWM
      end if
      end