| # RUN: llvm-nm -B -S %p/Inputs/weak.obj.elf-x86_64 | FileCheck --match-full-lines %s | |
| # RUN: llvm-nm -W -B -S %p/Inputs/weak.obj.elf-x86_64 | count 0 | |
| CHECK: w weak_extern_func | |
| CHECK: w weak_extern_var | |
| CHECK: 0000000000000000 0000000000000011 W weak_func | |
| CHECK: 0000000000000000 0000000000000004 V weak_var |