Files
obfuscator-llvm-obfuscator/test/Bitcode/invalid.ll
T
2014-01-07 11:45:01 +01:00

8 lines
244 B
LLVM

; 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.