Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
e5a07167f508a35bb34cc874c827b51f1c3dfd7b
/
.
/
llvm
/
test
/
Bitcode
/
invalid.ll
blob: 1d4a82bf2b613a1d0059b65afcf2381899392bf9 [
file
] [
log
] [
blame
]
; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: Invalid value
; 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.