blob: 4bbb4570f7e70a6efd602d0122b6eb971a89fee4 [file] [log] [blame]
Rafael Espindolacc8c6732013-10-31 04:20:23 +00001; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
2
Nicolai Haehnleb07f5402016-07-04 08:01:29 +00003; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (63)
Rafael Espindolacc8c6732013-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.