llvm-for-llvmta/test/Bitcode/invalid.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

8 lines
266 B
LLVM

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