brintos

brintos / llvm-project-archived public Read only

0
0
Text · 322 B · 41487de Raw
14 lines · plain
1! RUN: %flang -E %s 2>&1 | FileCheck %s2! CHECK: ch = 'KWM'3! CHECK: if (ch .eq. 'KWM') then4! KWM NOT expanded in 'literal'5#define KWM 6666      character(len=3) :: ch7      ch = 'KWM'8      if (ch .eq. 'KWM') then9        print *, 'pp121.F90 yes'10      else11        print *, 'pp121.F90 no: ', ch12      end if13      end14