1 ## Check we report an error when trying to dump an object
2 ## which has a relocation section that has a broken sh_info
3 ## field, which is larger than the number of sections.
5 # RUN: yaml2obj %s -o %t
6 # RUN: not llvm-cxxdump %t 2>&1 | FileCheck %s
7 # CHECK: error: reading file: invalid section index: 255