blob: 1d4a82bf2b613a1d0059b65afcf2381899392bf9 [file] [log] [blame]
Rafael Espindola26b43ca2013-10-31 04:20:23 +00001; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
2
Rafael Espindola48da4f42013-11-04 16:16:24 +00003; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: Invalid value
Rafael Espindola26b43ca2013-10-31 04:20:23 +00004
5; invalid.ll.bc has an invalid attribute number.
6; The test checks that LLVM reports the error and doesn't access freed memory
7; in doing so.