xref: /llvm-project/llvm/test/tools/obj2yaml/DXContainer/InvalidOffset.yaml (revision 76fca14750e3ca536e9b65a99ed55730cd704403)
1129c056dSChris Bieneman# RUN: not yaml2obj %s 2>&1 | FileCheck %s
2129c056dSChris Bieneman
3129c056dSChris Bieneman# CHECK: yaml2obj: error: Offset mismatch, not enough space for data.
4129c056dSChris Bieneman--- !dxcontainer
5129c056dSChris BienemanHeader:
6129c056dSChris Bieneman  Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
7129c056dSChris Bieneman                     0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
8129c056dSChris Bieneman  Version:
9129c056dSChris Bieneman    Major:           1
10129c056dSChris Bieneman    Minor:           0
11129c056dSChris Bieneman  FileSize:        32
12129c056dSChris Bieneman  PartCount:       1
13129c056dSChris Bieneman  PartOffsets:     [ 0 ]
14129c056dSChris BienemanParts:
15*76fca147SChris Bieneman  - Name:            FKE0
16129c056dSChris Bieneman    Size:            8
17129c056dSChris Bieneman...
18