llvm-project/flang/test/Preprocessing/pp021.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 *, 'pp021.F pass'
else
print *, 'pp021.F FAIL: ', ch
end if
end