2017-07-19 02:40:50 +08:00
|
|
|
; REQUIRES: x86
|
2015-06-18 08:40:33 +08:00
|
|
|
; RUN: llvm-as -o %t.obj %s
|
|
|
|
; RUN: rm -f %t.lib
|
|
|
|
; RUN: llvm-ar cru %t.lib %t.obj
|
2015-08-07 00:47:46 +08:00
|
|
|
; RUN: lld-link /out:%t.exe /entry:main %t.lib
|
2015-06-18 08:40:33 +08:00
|
|
|
|
|
|
|
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
|
|
|
|
target triple = "x86_64-pc-windows-msvc"
|
|
|
|
|
2015-06-29 09:03:53 +08:00
|
|
|
define i32 @main() {
|
2015-06-18 08:40:33 +08:00
|
|
|
ret i32 0
|
|
|
|
}
|