aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/drop-debug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/drop-debug.ll')
-rw-r--r--test/Linker/drop-debug.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Linker/drop-debug.ll b/test/Linker/drop-debug.ll
new file mode 100644
index 0000000..9c1072a
--- /dev/null
+++ b/test/Linker/drop-debug.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-link %p/Inputs/drop-debug.bc -o %t 2>&1 | FileCheck %s
+
+;; drop-debug.bc was created from "void f(void) {}" with clang 3.5 and
+; -gline-tables-only, so it contains old debug info.
+
+; CHECK: warning: ignoring debug info with an invalid version (1) in {{.*}}/Inputs/drop-debug.bc