aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/linkmdnode2.ll
blob: 5b2b58df9b79fe1c3c1c0b425269141350605934 (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 = !{i32 42, !"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 = !{!0, i32 42 }