summaryrefslogtreecommitdiff
path: root/flang/test/Preprocessing/pp123.F90
blob: 0d5cf016f536e81b82d6ea88162929a9478ad351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK: ch = 3HKWM
! KWM NOT expanded in Hollerith literal
#define KWM 666
#define HKWM 667
      character(len=3) :: ch
      ch = 3HKWM
      if (ch .eq. 'KWM') then
        print *, 'pp123.F90 yes'
      else
        print *, 'pp123.F90 no: ', ch
      end if
      end