llvm-project/flang/test/Preprocessing/pp022.F

11 lines
228 B
Fortran

* KWM NOT expanded in "literal"
#define KWM 666
character(len=3) :: ch
ch = "KWM"
if (ch .eq. 'KWM') then
print *, 'pp022.F pass'
else
print *, 'pp022.F FAIL: ', ch
end if
end