diff options
Diffstat (limited to 'test/COFF/entrylib.ll')
| -rw-r--r-- | test/COFF/entrylib.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/COFF/entrylib.ll b/test/COFF/entrylib.ll new file mode 100644 index 000000000000..4ffa42c44a3e --- /dev/null +++ b/test/COFF/entrylib.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as -o %t.obj %s +; RUN: rm -f %t.lib +; RUN: llvm-ar cru %t.lib %t.obj +; RUN: lld-link /out:%t.exe /entry:main %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 @main() { + ret i32 0 +} |
