RUN: FileCheck --check-prefix=RELOC %s
RELOC: Invalid relocation entry size
+
+RUN: not llvm-readobj -dyn-relocations \
+RUN: %p/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64 2>&1 | \
+RUN: FileCheck --check-prefix=DYN-TABLE-SIZE %s
+
+DYN-TABLE-SIZE: Invalid dynamic table size