2014-10-06 07:43:59 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/vars-main-x86.obj.yaml > %t.obj
|
2013-09-28 06:48:06 +08:00
|
|
|
#
|
2013-12-27 16:37:40 +08:00
|
|
|
# RUN: lld -flavor link /out:%t.exe /subsystem:console /entry:main /opt:noref \
|
|
|
|
# RUN: -- %t.obj %p/Inputs/vars.lib
|
|
|
|
# RUN: llvm-objdump -p %t.exe | FileCheck %s
|
2013-09-28 06:48:06 +08:00
|
|
|
|
|
|
|
CHECK: DLL Name: vars.dll
|
|
|
|
CHECK-NEXT: Hint/Ord Name
|
|
|
|
CHECK-NEXT: 0 _name_with_underscore
|
|
|
|
CHECK-NEXT: 1 fn
|
|
|
|
CHECK-NEXT: 1
|