brintos

brintos / llvm-project-archived public Read only

0
0
Text · 716 B · 912e351 Raw
17 lines · plain
1! REQUIRES: aarch64-registered-target && x86-registered-target2! DEFINE: %{triple} =3! DEFINE: %{compile} = %flang_fc1 -emit-mlir -triple %{triple} --dependent-lib=libtest %s -o - 2>&14! REDEFINE: %{triple} = aarch64-pc-windows-msvc5! RUN: %{compile} | FileCheck %s6! REDEFINE: %{triple} = x86_64-pc-windows-msvc7! RUN: %{compile} | FileCheck %s8! REDEFINE: %{triple} = x86_64-linux-unknown-gnu9! RUN: not %{compile} | FileCheck %s --check-prefixes=CHECK-NOWIN10! REDEFINE: %{triple} = aarch64-apple-darwin11! RUN: not %{compile} | FileCheck %s --check-prefixes=CHECK-NOWIN12 13! CHECK: llvm.linker_options ["/DEFAULTLIB:libtest"]14program test15end program test16! CHECK-NOWIN: --dependent-lib is only supported on Windows17