1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Linker/weakextern.ll
Reid Spencer f2149355c3 For PR1319: Upgrade to new test harness
llvm-svn: 36073
2007-04-15 18:11:57 +00:00

13 lines
459 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as > %t.bc
; RUN: llvm-upgrade < %p/testlink1.ll | llvm-as > %t2.bc
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
; 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}
%kallsyms_names = extern_weak global [0 x ubyte]
%MyVar = extern_weak global int
%Inte = extern_weak global int
implementation