summaryrefslogtreecommitdiffstats
path: root/test/LTO/X86/invalid.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/LTO/X86/invalid.ll')
-rw-r--r--test/LTO/X86/invalid.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/LTO/X86/invalid.ll b/test/LTO/X86/invalid.ll
new file mode 100644
index 0000000..5b6996d
--- /dev/null
+++ b/test/LTO/X86/invalid.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-lto %S/Inputs/invalid.ll.bc 2>&1 | FileCheck %s
+
+
+; CHECK: llvm-lto{{.*}}: error loading file '{{.*}}/Inputs/invalid.ll.bc': Unknown attribute kind (48)