Add a testcase of llvm-lto error handling.

llvm-svn: 225545
This commit is contained in:
Rafael Espindola 2015-01-09 20:55:09 +00:00
parent 21e05ef27d
commit 793f8a4d23

4
test/LTO/invalid.ll Normal file
View File

@ -0,0 +1,4 @@
; RUN: not llvm-lto %S/../Bitcode/invalid.ll.bc 2>&1 | FileCheck %s
; CHECK: llvm-lto{{.*}}: error loading file '{{.*}}/../Bitcode/invalid.ll.bc': Invalid value