aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/distinct-cycles.ll
blob: b9b496c50c14cbd5a7e51f483e5bb728625aa058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-link -o - -S %s | FileCheck %s
; Crasher for PR22456: MapMetadata() should resolve all cycles.

; CHECK: !named = !{!0}
!named = !{!0}

; CHECK: !0 = distinct !{!1}
!0 = distinct !{!1}

; CHECK-NEXT: !1 = !{!2}
; CHECK-NEXT: !2 = !{!1}
!1 = !{!2}
!2 = !{!1}