2021-01-25 20:07:17 +08:00
|
|
|
! RUN: %flang -E %s 2>&1 | FileCheck %s
|
2020-08-04 01:50:42 +08:00
|
|
|
! CHECK: if(7777.eq.777)then
|
|
|
|
! CHECK: print*,'pp037.F no: ',7777
|
2019-10-05 06:21:31 +08:00
|
|
|
* fixed-form clipping NOT applied to #define
|
|
|
|
integer, parameter :: KWM = 666
|
|
|
|
* 1 2 3 4 5 6 7
|
|
|
|
*234567890123456789012345678901234567890123456789012345678901234567890123
|
|
|
|
#define KWM 7777
|
|
|
|
if (KWM .eq. 777) then
|
2020-08-04 01:50:42 +08:00
|
|
|
print *, 'pp037.F yes'
|
2019-10-05 06:21:31 +08:00
|
|
|
else
|
2020-08-04 01:50:42 +08:00
|
|
|
print *, 'pp037.F no: ', KWM
|
2019-10-05 06:21:31 +08:00
|
|
|
end if
|
|
|
|
end
|