Home | History | Annotate | Download | only in Linker
      1 ; RUN: llvm-link %s %p/metadata-b.ll -S -o - | FileCheck %s
      2 
      3 ; CHECK: define void @foo(i32 %a)
      4 ; CHECK: ret void, !attach !0
      5 ; CHECK: define void @goo(i32 %b)
      6 ; CHECK: ret void, !attach !1
      7 ; CHECK: !0 = !{i32 524334, void (i32)* @foo}
      8 ; CHECK: !1 = !{i32 524334, void (i32)* @goo}
      9 
     10 define void @foo(i32 %a) nounwind {
     11 entry:
     12   ret void, !attach !0
     13 }
     14 
     15 !0 = !{i32 524334, void (i32)* @foo}
     16