summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/invalid.ll
blob: 49189bf8c0698de7ebee06f324e39b1cb0a653da (plain)
1
2
3
4
5
6
7
; RUN:  not llvm-dis < %s.bc 2>&1 | FileCheck %s

; CHECK: llvm-dis: Unknown attribute kind

; 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.
OpenPOWER on IntegriCloud