1; RUN: llvm-as %S/Inputs/2003-01-30-LinkerRename.ll -o %t.1.bc
2; RUN: llvm-as %s -o %t.2.bc
3; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
4
5; CHECK: @bar = global i32 ()* @foo2
6
7; CHECK:      define internal i32 @foo2() {
8; CHECK-NEXT:   ret i32 7
9; CHECK-NEXT: }
10
11; CHECK:      define i32 @foo() {
12; CHECK-NEXT:   ret i32 0
13; CHECK-NEXT: }
14
15define i32 @foo() {
16  ret i32 0
17}
18