2013-10-31 12:20:23 +08:00
|
|
|
; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
|
|
|
|
|
2013-11-05 00:16:24 +08:00
|
|
|
; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: Invalid value
|
2013-10-31 12:20:23 +08:00
|
|
|
|
|
|
|
; invalid.ll.bc has an invalid attribute number.
|
|
|
|
; The test checks that LLVM reports the error and doesn't access freed memory
|
|
|
|
; in doing so.
|