brintos

brintos / llvm-project-archived public Read only

0
0
Text · 403 B · 3ad0bde Raw
13 lines · plain
1! RUN: %flang -E %s 2>&1 | FileCheck %s2! CHECK: if (777 // C comment.eq. 777) then3! CHECK: print *, 'pp031.F no: ', 777 // C comment4*  // C++ comment NOT erased from #define5      integer, parameter :: KWM = 6666#define KWM 777 // C comment7      if (KWM .eq. 777) then8        print *, 'pp031.F FAIL (should not have compiled)'9      else10        print *, 'pp031.F no: ', KWM11      end if12      end13