2021-01-25 20:07:17 +08:00
|
|
|
! RUN: %flang -E %s 2>&1 | FileCheck %s
|
2021-07-24 07:41:04 +08:00
|
|
|
! CHECK: res = KW
|
2019-10-05 06:21:31 +08:00
|
|
|
* fixed-form clipping done before KWM expansion on source line
|
|
|
|
integer, parameter :: KW = 777
|
|
|
|
#define KWM 666
|
|
|
|
integer :: res
|
|
|
|
* 'M' is in column 73
|
|
|
|
* 1 2 3 4 5 6 7
|
|
|
|
*234567890123456789012345678901234567890123456789012345678901234567890123
|
|
|
|
res = KWM
|
|
|
|
if (res .eq. 777) then
|
2020-08-04 01:50:42 +08:00
|
|
|
print *, 'pp028.F yes'
|
2019-10-05 06:21:31 +08:00
|
|
|
else
|
2020-08-04 01:50:42 +08:00
|
|
|
print *, 'pp028.F no: ', res
|
2019-10-05 06:21:31 +08:00
|
|
|
end if
|
|
|
|
end
|