summaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp105.F90
blob: e861e9688d2c54a4bfb42fff6c7ad6ad156aca86 (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 = (777)
! KWM call name split across continuation, with leading &
      integer, parameter :: KWM = 666
#define KWM 777
      integer :: res
      res = (KW&
&M)
      if (res .eq. 777) then
        print *, 'pp105.F90 yes'
      else
        print *, 'pp105.F90 no: ', res
      end if
      end