[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / yaml2obj / symbol-index-invalid.yaml
blob06ef1b51a267bb7540f8dd0168b8b855743d204b
1 # This test insures that the user cannot have both an Index and a Section field.
2 # RUN: not yaml2obj %s
4 !ELF
5 FileHeader:
6   Class:           ELFCLASS64
7   Data:            ELFDATA2LSB
8   Type:            ET_EXEC
9   Machine:         EM_X86_64
10 Sections:
11   - Name:            .text
12     Type:            SHT_PROGBITS
13     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
14     Address:         0x1000
15     AddressAlign:    0x0000000000000010
16     Content:         "0000000000000000"
17 Symbols:
18   Global:
19     - Name:     _start
20       Section:  .text
21       Index:    SHN_ABS