[PECOFF] Add a test for the import table.

llvm-svn: 191475
This commit is contained in:
Rui Ueyama 2013-09-27 00:56:37 +00:00
parent 6b27fe648a
commit 9eb1432a99
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# RUN: yaml2obj %p/Inputs/vars-main.obj.yaml > %t.obj
#
# RUN: lld -flavor link /out:%t1 /subsystem:console /entry:main /opt:noref \
# RUN: -- %t.obj %p/Inputs/vars.lib && llvm-objdump -p %t1 | FileCheck %s
CHECK: DLL Name: vars.dll
CHECK-NEXT: Hint/Ord Name
CHECK-NEXT: 0 _name_with_underscore
CHECK-NEXT: 1 fn
CHECK-NEXT: 1