aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/unique-fwd-decl-a.ll
blob: b9c7b2faac5355a8c8f19ab3588bb339bd726012 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-link %s %S/Inputs/unique-fwd-decl-b.ll -S -o - | FileCheck %s

; Test that the arguments of !a and !b get uniqued.
; CHECK: !a = !{!0}
; CHECK: !b = !{!0}

!a = !{!0}
!0 = metadata !{metadata !1}
!1 = metadata !{}