2008-03-10 08:21:50 +01:00
|
|
|
; RUN: llvm-as < %s > %t.bc
|
|
|
|
; RUN: llvm-as < %p/testlink1.ll > %t2.bc
|
2009-08-25 17:38:29 +02:00
|
|
|
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
|
2007-04-15 20:11:57 +02:00
|
|
|
; RUN: llvm-dis < %t1.bc | grep {kallsyms_names = extern_weak}
|
|
|
|
; RUN: llvm-dis < %t1.bc | grep {MyVar = external global i32}
|
|
|
|
; RUN: llvm-dis < %t1.bc | grep {Inte = global i32}
|
2006-12-15 18:34:37 +01:00
|
|
|
|
2008-03-10 08:21:50 +01:00
|
|
|
@kallsyms_names = extern_weak global [0 x i8] ; <[0 x i8]*> [#uses=0]
|
|
|
|
@MyVar = extern_weak global i32 ; <i32*> [#uses=0]
|
|
|
|
@Inte = extern_weak global i32 ; <i32*> [#uses=0]
|
2006-12-15 18:34:37 +01:00
|
|
|
|