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

8 lines
243 B
Fortran

! RUN: %flang_fc1 -E -fopenacc %s 2>&1 | FileCheck %s
!CHECK: subroutine r4(x) Z real :: x Z !$acc routine Z print *, x Z end
#define SUB(s, t) subroutine s(x) Z\
t :: x Z\
!$acc routine Z\
print *, x Z\
end subroutine s
SUB(r4, real)