1# RUN: yaml2obj %s -o %t.o
2# RUN: llvm-nm --print-file-name %t.o | FileCheck %s -DFILE=%t.o
3# RUN: llvm-nm -A %t.o | FileCheck %s -DFILE=%t.o
4
5!ELF
6FileHeader:
7  Class:   ELFCLASS64
8  Data:    ELFDATA2LSB
9  Type:    ET_REL
10  Machine: EM_X86_64
11Sections:
12  - Name: .text
13    Type: SHT_PROGBITS
14Symbols:
15  - Name:    symbol_a
16    Section: .text
17
18# CHECK: [[FILE]]: 0000000000000000 n symbol_a
19