llvm.org GIT mirror llvm / 0c49b89 test / Linker / 2003-04-23-LinkOnceLost.ll
0c49b89

Tree @0c49b89 (Download .tar.gz)

2003-04-23-LinkOnceLost.ll @0c49b89raw · history · blame

1
2
3
4
5
6
7
8
; This fails because the linker renames the non-opaque type not the opaque 
; one...

; RUN: echo "implementation linkonce void %foo() { ret void } " | as > Output/%s.2.bc
; RUN: as < %s > Output/%s.1.bc
; RUN: link Output/%s.[12].bc | dis | grep foo | grep linkonce

declare void %foo()