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 1c38bc12de
commit 1ea49d1bdd
1 changed files with 4 additions and 0 deletions

4
llvm/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