279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
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.
|