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
|
|
|
|
|
|
|
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
|
|
|
|
target triple = "x86_64-pc-windows-msvc"
|
|
|
|
|
2017-06-13 04:10:48 +08:00
|
|
|
!llvm.linker.options = !{!0}
|
|
|
|
!0 = !{!"/DEFAULTLIB:ret42.lib"}
|