summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/invalid.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/LTO/invalid.ll')
-rw-r--r--llvm/test/LTO/invalid.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/LTO/invalid.ll b/llvm/test/LTO/invalid.ll
new file mode 100644
index 00000000000..39b928587db
--- /dev/null
+++ b/llvm/test/LTO/invalid.ll
@@ -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
OpenPOWER on IntegriCloud