[PECOFF] Add a test for r184036.

llvm-svn: 184037
This commit is contained in:
Rui Ueyama 2013-06-15 05:20:05 +00:00
parent b95e833278
commit 3b0321c182
1 changed files with 11 additions and 0 deletions

11
lld/test/pecoff/lib.test Normal file
View File

@ -0,0 +1,11 @@
# Verify that lld can handle a library file.
#
# RUN: lld -flavor link -out %t1 -subsystem console \
# RUN: -- %p/Inputs/static-main.obj %p/Inputs/static.lib \
# RUN: && llvm-objdump -d %t1 | FileCheck %s
CHECK: Disassembly of section .text:
CHECK: .text:
CHECK: 1000: a1 00 00 00 00
CHECK: 1005: 03 05 00 00 00 00
CHECK: 100b: c3