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-NOT:z=111
|
2019-10-05 06:21:31 +08:00
|
|
|
* #define directive amid continuations
|
|
|
|
integer, parameter :: KWM = 222, KWM111 = 333, KWM222 = 555
|
|
|
|
integer, parameter :: KWMKWM = 333
|
|
|
|
integer, parameter :: z = KWM
|
|
|
|
#define KWM 111
|
|
|
|
+KWM+444
|
|
|
|
if (z .EQ. 777) then
|
2020-08-04 01:50:42 +08:00
|
|
|
print *, 'yes'
|
2019-10-05 06:21:31 +08:00
|
|
|
else
|
2020-08-04 01:50:42 +08:00
|
|
|
print *, 'no', z
|
2019-10-05 06:21:31 +08:00
|
|
|
end if
|
|
|
|
end
|