Files
clang-p2996/flang/test/Driver/embed-error.f90
Jan Sjodin 40d8c0666f [flang][driver] Add support for -embed-offload-object flag in flang
This patch adds support for the -embed-offload-object flag to embed offloading
binaries in host code. This flag is identical to the clang flag with the same name.

Differential Revision: https://reviews.llvm.org/D142244

Reviewed By: awarzynski, jhuber6
2023-01-31 10:56:45 -05:00

13 lines
265 B
Fortran

!----------
! RUN lines
!----------
! Try to embed missing file
! RUN: not %flang_fc1 -emit-llvm -o - -fembed-offload-object=%S/Inputs/missing.f90 %s 2>&1 | FileCheck %s --check-prefix=ERROR
! ERROR: error: could not open
parameter(i=1)
integer :: j
end program