llvm-6502/test/Bitcode/invalid.ll
2013-10-31 06:21:00 +00:00

8 lines
253 B
LLVM

; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: 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.