2018-06-06 21:56:51 +08:00
|
|
|
; REQUIRES: x86
|
2015-06-06 10:00:45 +08:00
|
|
|
; RUN: llvm-as -o %T/lto-linker-opts.obj %s
|
2015-08-07 00:47:46 +08:00
|
|
|
; RUN: env LIB=%S/Inputs lld-link /out:%T/lto-linker-opts.exe /entry:main /subsystem:console %T/lto-linker-opts.obj
|
2015-06-06 10:00:45 +08:00
|
|
|
|
2019-09-11 07:15:38 +08:00
|
|
|
target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
2015-06-06 10:00:45 +08:00
|
|
|
target triple = "x86_64-pc-windows-msvc"
|
|
|
|
|
2017-06-13 04:10:48 +08:00
|
|
|
!llvm.linker.options = !{!0}
|
|
|
|
!0 = !{!"/DEFAULTLIB:ret42.lib"}
|