1 ; RUN: llvm-link %s %p/metadata-b.ll -S -o - | FileCheck %s
3 ; CHECK: define void @foo(i32 %a)
4 ; CHECK: ret void, !attach !0, !also !{i32 %a}
5 ; CHECK: define void @goo(i32 %b)
6 ; CHECK: ret void, !attach !1, !and !{i32 %b}
7 ; CHECK: !0 = metadata !{i32 524334, void (i32)* @foo}
8 ; CHECK: !1 = metadata !{i32 524334, void (i32)* @goo}
10 define void @foo(i32 %a) nounwind {
12 ret void, !attach !0, !also !{ i32 %a }
15 !0 = metadata !{i32 524334, void (i32)* @foo}