2009-06-02 17:52:33 +00:00
|
|
|
; This fails because the linker renames the non-opaque type not the opaque
|
|
|
|
; one...
|
|
|
|
|
2012-08-15 19:34:23 +00:00
|
|
|
; RUN: echo " define linkonce void @foo() { ret void } " | \
|
2009-10-14 17:57:32 +00:00
|
|
|
; RUN: llvm-as -o %t.2.bc
|
|
|
|
; RUN: llvm-as %s -o %t.1.bc
|
2013-06-10 20:36:52 +00:00
|
|
|
; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
|
|
|
|
; CHECK: linkonce{{.*}}foo
|
2009-06-02 17:52:33 +00:00
|
|
|
|
|
|
|
declare void @foo()
|
|
|
|
|