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