aboutsummaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp008.F
blob: 08d809da3e51417e5d9e13f8c5f7f24316b926b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: res = K W M
* KWM with spaces in name at invocation NOT replaced
      integer, parameter :: KWM = 777
#define KWM 666
      integer :: res
      res = K W M
      if (res .eq. 777) then
        print *, 'pp008.F yes'
      else
        print *, 'pp008.F no: ', res
      end if
      end