llvm/llvm/test/tools/llvm-nm/X86/nm-no-symbols.test

# RUN: yaml2obj %s -o %t.o
# RUN: llvm-nm %t.o 2>&1 | FileCheck %s -DFILE=%t.o

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64

# CHECK: [[FILE]]: no symbols{{$}}

# RUN: llvm-nm --quiet %t.o 2>&1 | count 0