llvm-project
12 строк · 315.0 Байт
1; REQUIRES: x86
2; RUN: llvm-as -o %t.obj %s
3; RUN: rm -f %t.lib
4; RUN: llvm-ar cru %t.lib %t.obj
5; RUN: lld-link /out:%t.exe /entry:main %t.lib
6
7target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
8target triple = "x86_64-pc-windows-msvc"
9
10define i32 @main() {
11ret i32 0
12}
13