blob: 51d8cf2f9e18630f7c89a2b0c059e5975c99c2d7 (
plain)
1
2
3
4
5
6
7
|
; 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.
|