Index: test/Bitcode/bad-abbrev-record.txt =================================================================== --- /dev/null +++ test/Bitcode/bad-abbrev-record.txt @@ -0,0 +1,6 @@ +; RUN: not llvm-dis < %s.bc 2> %t1 +; RUN: FileCheck < %t1 %s + +; CHECK: LLVM ERROR: Invalid encoding + +http://llvm.org/bugs/show_bug.cgi?id=20485