e19d552987
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
8 lines
265 B
LLVM
8 lines
265 B
LLVM
; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
|
|
|
|
; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (63)
|
|
|
|
; 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.
|