bolt/deps/llvm-18.1.8/flang/test/Preprocessing/pp044.F
2025-02-14 19:21:04 +01:00

15 lines
423 B
Fortran

! RUN: %flang -E %s 2>&1 | FileCheck %s
! CHECK-NOT:z = 111
! CHECK:warning: Statement should not begin with a continuation line
! CHECK:j=111+444
* #define directive amid continuations.
integer, parameter :: KWM = 222
integer, parameter :: z = KWM
#define KWM 111
,j=KWM+444
if (z .EQ. 222 .AND. j .EQ. 555) then
print *, 'yes'
else
print *, 'no', z, _4
end if
end