llvm.org GIT mirror llvm / master test / Linker / unique-fwd-decl-a.ll
master

Tree @master (Download .tar.gz)

unique-fwd-decl-a.ll @masterraw · history · blame

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 = !{!1}
!1 = !{}