summaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp130.F90
blob: 6116cf1c20e5f98218c18b6260cf9def9ceaf879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: j = j +  111
! #define KWM &, use for continuation w/o pasting (ifort and nag seem to continue #define)
#define KWM &
      integer :: j
      j = 666
      j = j + KWM
111
      if (j .eq. 777) then
        print *, 'pp130.F90 yes'
      else
        print *, 'pp130.F90 no', j
      end if
      end