aboutsummaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp032.F
blob: bc59bb74605cac9dc7ea7117e6a3a78452d65fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: if (777 .eq. 777) then
! CHECK: print *, 'pp032.F no: ', 777
* /* C comment */ \ newline erased from #define
      integer, parameter :: KWM = 666
#define KWM 77/* C comment */\
7
      if (KWM .eq. 777) then
        print *, 'pp032.F yes'
      else
        print *, 'pp032.F no: ', KWM
      end if
      end