Add a missing error handling to llvm-lto.
[oota-llvm.git] / test / tools / llvm-lto / error.ll
diff --git a/test/tools/llvm-lto/error.ll b/test/tools/llvm-lto/error.ll
new file mode 100644 (file)
index 0000000..8f11270
--- /dev/null
@@ -0,0 +1,2 @@
+; RUN: not llvm-lto foobar 2>&1 | FileCheck %s
+; CHECK: llvm-lto: error loading file 'foobar': No such file or directory