forked from OSchip/llvm-project
12 lines
273 B
LLVM
12 lines
273 B
LLVM
|
; RUN: llvm-as -o %t.obj %s
|
||
|
; RUN: rm -f %t.lib
|
||
|
; RUN: llvm-ar cru %t.lib %t.obj
|
||
|
; RUN: lld -flavor link2 /out:%t.exe %t.lib
|
||
|
|
||
|
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
|
||
|
target triple = "x86_64-pc-windows-msvc"
|
||
|
|
||
|
define i32 @mainCRTStartup() {
|
||
|
ret i32 0
|
||
|
}
|