| # RUN: lld-link /machine:x64 /def:%S/Inputs/library.def /out:%t.lib | |
| # RUN: llvm-nm %t.lib | FileCheck %s | |
| CHECK: 00000000 R __imp_constant | |
| CHECK: 00000000 R constant | |
| CHECK: 00000000 D __imp_data | |
| CHECK: 00000000 T __imp_function | |
| CHECK: 00000000 T function | |