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 *, 'pp022.F yes'10 else11 print *, 'pp022.F no: ', ch12 end if13 end14