bolt/deps/llvm-18.1.8/flang/test/Preprocessing/implicit-contin2.F90

14 lines
254 B
Fortran
Raw Normal View History

2025-02-14 19:21:04 +01:00
! RUN: %flang -E %s | FileCheck %s
! Test implicit continuation for possible function-like macro calls
#define flm(x) x
print *, flm(1)
continue
print *, flm(2
)
end
!CHECK: print *, 1
!CHECK: continue
!CHECK: print *, 2
!CHECK: end