3 # Verify that lld can handle a library file.
5 # RUN: yaml2obj %p/Inputs/main.obj.yaml > %t.obj
7 # RUN: lld -flavor link /out:%t.exe /subsystem:console /entry:main /opt:noref \
8 # RUN: -- %t.obj %p/Inputs/static.lib
9 # RUN: llvm-objdump -d %t.exe | FileCheck %s
11 CHECK: Disassembly of section .text:
13 CHECK-NEXT: movl 4198400, %eax
14 CHECK-NEXT: addl 4198404, %eax