summaryrefslogtreecommitdiff
path: root/test/tools/llvm-lto/error.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-lto/error.ll')
-rw-r--r--test/tools/llvm-lto/error.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tools/llvm-lto/error.ll b/test/tools/llvm-lto/error.ll
new file mode 100644
index 000000000000..43043d0cdc0b
--- /dev/null
+++ b/test/tools/llvm-lto/error.ll
@@ -0,0 +1,2 @@
+; RUN: not llvm-lto foobar 2>&1 | FileCheck %s
+; CHECK: llvm-lto: error loading file 'foobar': {{N|n}}o such file or directory