aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/linkmdnode2.ll
blob: a7d991a8a4f80937498820bd07348bc8ff277e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; This file is used by linkmdnode.ll, so it doesn't actually do anything itself
;
; RUN: true

!22 = metadata !{i32 42, metadata !"foobar"}

declare i8 @llvm.something(metadata %a)
define void @foo1() {
  ;; Intrinsic using MDNode and MDString
  %x = call i8 @llvm.something(metadata !22)
  ret void
}



; PR9015
define void @test() {
  ret void, !abc !0
}

!0 = metadata !{metadata !0, i32 42 }