aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Linker/ident.ll
blob: 532a8427346ce6faf133fdbe08c4978b699bb32f (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-link %S/Inputs/ident.a.ll %S/Inputs/ident.b.ll -S | FileCheck %s

; Verify that multiple input llvm.ident metadata are linked together, and
; duplicate "Compiler V2" metadata from the two inputs are unified.

; CHECK-DAG: !llvm.ident = !{!0, !1, !2}
; CHECK-DAG: "Compiler V1"
; CHECK-DAG: "Compiler V2"
; CHECK-DAG: "Compiler V3"