1## Test the case where no switches are specified.
2
3# RUN: yaml2obj %s -o %t.trivial.obj.elf-x86-64
4# RUN: llvm-readobj %t.trivial.obj.elf-x86-64 | FileCheck --check-prefix=HEADER %s
5# RUN: llvm-readelf %t.trivial.obj.elf-x86-64 | FileCheck --check-prefix=NO-OUTPUT --allow-empty %s
6
7# HEADER: File: {{.*}}trivial.obj.elf-x86-64
8# HEADER: Format: elf64-x86-64
9# HEADER: Arch: x86_64
10# HEADER: AddressSize: 64bit
11
12# NO-OUTPUT-NOT: {{.}}
13
14--- !ELF
15FileHeader:
16  Class:   ELFCLASS64
17  Data:    ELFDATA2LSB
18  Type:    ET_REL
19  Machine: EM_X86_64
20