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