# RUN: yaml2obj %s | not obj2yaml 2>&1 | FileCheck %s 

# In this test the hash part is too small to contain the hash data.

# CHECK: Error reading file: <stdin>: Reading structure out of file bounds
--- !dxcontainer
Header:
  Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
                     0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
  Version:
    Major:           1
    Minor:           0
  PartCount:       1
Parts:
  - Name:            HASH
    Size:            0
...
