Home | History | Annotate | Download | only in Linker
      1 ; RUN: llvm-as < %s > %t.bc
      2 ; RUN: llvm-as < %p/testlink1.ll > %t2.bc
      3 ; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
      4 ; RUN: llvm-dis < %t1.bc | grep "kallsyms_names = extern_weak"
      5 ; RUN: llvm-dis < %t1.bc | grep "MyVar = external global i32"
      6 ; RUN: llvm-dis < %t1.bc | grep "Inte = global i32"
      7 
      8 @kallsyms_names = extern_weak global [0 x i8]		; <[0 x i8]*> [#uses=0]
      9 @MyVar = extern_weak global i32		; <i32*> [#uses=0]
     10 @Inte = extern_weak global i32		; <i32*> [#uses=0]
     11 
     12