1## When a file contains only local symbols the "no symbols" error should not
2## be shown, so we expect the output to be completely empty.
3# RUN: yaml2obj %s -o %t.o
4# RUN: llvm-nm %t.o 2>&1 | count 0
5
6!ELF
7FileHeader:
8  Class:   ELFCLASS64
9  Data:    ELFDATA2LSB
10  Type:    ET_REL
11  Machine: EM_X86_64
12Symbols:
13  - Name:  foo.c
14    Type:  STT_FILE
15    Index: SHN_ABS
16