Use the DiagnosticHandler to print diagnostics when reading bitcode.
[oota-llvm.git] / test / Bitcode / invalid.ll
index 1d4a82bf2b613a1d0059b65afcf2381899392bf9..8b532d8dadfdbdac1d5754b9d45a83c5d6ece564 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN:  not llvm-dis < %s.bc 2>&1 | FileCheck %s
 
-; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: Invalid value
+; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: Unknown attribute kind (48)
 
 ; invalid.ll.bc has an invalid attribute number.
 ; The test checks that LLVM reports the error and doesn't access freed memory