xref: /llvm-project-15.0.7/lld/test/COFF/lib.test (revision d649faff)
1# RUN: lld-link /machine:x64 /def:%S/Inputs/library.def /out:%t.lib
2# RUN: llvm-nm %t.lib | FileCheck %s
3
4CHECK: 00000000 a @comp.id
5CHECK: 00000000 a @feat.00
6CHECK: 00000000 W alias
7CHECK:          U function
8
9CHECK: 00000000 a @comp.id
10CHECK: 00000000 a @feat.00
11CHECK: 00000000 W __imp_alias
12CHECK:          U __imp_function
13
14CHECK: 00000000 R __imp_constant
15CHECK: 00000000 R constant
16
17CHECK: 00000000 D __imp_data
18
19CHECK: 00000000 T __imp_function
20CHECK: 00000000 T function
21
22