xref: /llvm-project/flang/test/Preprocessing/pp121.F90 (revision 3338ef93b02837edf69abc203e15a42fa55aa1b3)
1! RUN: %flang -E %s 2>&1 | FileCheck %s
2! CHECK: ch = 'KWM'
3! CHECK: if (ch .eq. 'KWM') then
4! KWM NOT expanded in 'literal'
5#define KWM 666
6      character(len=3) :: ch
7      ch = 'KWM'
8      if (ch .eq. 'KWM') then
9        print *, 'pp121.F90 yes'
10      else
11        print *, 'pp121.F90 no: ', ch
12      end if
13      end
14