Files
clang-p2996/flang/test/Preprocessing/preprocessed-dirs.F90
Leandro Lupori 9edcf7a28e [flang][driver] Add support for -isysroot in the frontend (#77365)
If DEFAULT_SYSROOT is not specfied when building flang, then the
-isysroot flag is needed to link binaries against system libraries
on Darwin. It's also needed when linking against a non-default
sysroot.
2024-01-11 10:37:58 -03:00

9 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)