aboutsummaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp027.F
blob: 1d736c962dc088641601225c16d9a68b6e7769ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: KWM = 666
! CHECK: if (777 .eq. 777) then
* #DEFINE works in fixed form
      integer, parameter :: KWM = 666
#DEFINE KWM 777
      if (KWM .eq. 777) then
        print *, 'pp027.F yes'
      else
        print *, 'pp027.F no: ', KWM
      end if
      end