blob: 5b2b58df9b79fe1c3c1c0b425269141350605934 [file] [log] [blame]
Devang Patel4d4a2e02009-08-11 06:46:31 +00001; This file is used by linkmdnode.ll, so it doesn't actually do anything itself
2;
3; RUN: true
4
Duncan P. N. Exon Smithbe7ea192014-12-15 19:07:53 +00005!22 = !{i32 42, !"foobar"}
Devang Patel4d4a2e02009-08-11 06:46:31 +00006
7declare i8 @llvm.something(metadata %a)
8define void @foo1() {
9 ;; Intrinsic using MDNode and MDString
10 %x = call i8 @llvm.something(metadata !22)
11 ret void
12}
Chris Lattner23289c32011-01-24 03:18:24 +000013
14
15
16; PR9015
17define void @test() {
18 ret void, !abc !0
19}
20
Duncan P. N. Exon Smithbe7ea192014-12-15 19:07:53 +000021!0 = !{!0, i32 42 }
Chris Lattner23289c32011-01-24 03:18:24 +000022