summaryrefslogtreecommitdiff
path: root/test/Bitcode/invalid.ll
blob: 4bbb4570f7e70a6efd602d0122b6eb971a89fee4 (plain)
1
2
3
4
5
6
7
; 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.