summaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp107.F90
blob: 7a78e7548c87106463f25e04675d1662768324bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: res = KWM
! KWM call name split across continuation, no leading &, with & ! comment
      integer, parameter :: KWM = 666
#define KWM 777
      integer :: res
      res = KW& ! comment
M
      if (res .eq. 777) then
        print *, 'pp107.F90 yes'
      else
        print *, 'pp107.F90 no: ', res
      end if
      end