aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/metadata.ll
blob: 3e2cd3c4c0b20ba3ed4f47fdc3db8a3f8997fa93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; PR7105

define void @foo() {
  call void @llvm.zonk(metadata !1, i64 0, metadata !1)
  ret void
}

declare void @llvm.zonk(metadata, i64, metadata) nounwind readnone

!named = !{!0}
!0 = metadata !{i8** null}
!1 = metadata !{i8* null}