view test/Linker/distinct-cycles.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 60c9769439b8
children
line wrap: on
line source

; 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}