llvm-project/flang/test/Preprocessing/pp121.F90

11 lines
232 B
Fortran

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