1 ; RUN: llvm-link %s %p/debug-info-version-b.ll -S -o - | FileCheck %s
3 ; Test linking of incompatible debug info versions. The debug info
4 ; from the other file should be dropped.
6 ; CHECK-NOT: metadata !{metadata !"b.c", metadata !""}
8 ; CHECK-NOT: metadata !{metadata !"b.c", metadata !""}
10 !llvm.module.flags = !{ !0 }
13 !0 = !{i32 2, !"Debug Info Version", i32 2}
14 !1 = !{!"0x11\0012\00clang\001\00\000\00\000", !2, !3, !3, !3, null, null} ; [ DW_TAG_compile_unit ]