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
5 ; CHECK: @bar = global i32 ()* @foo.2
7 ; CHECK: define internal i32 @foo.2() {
8 ; CHECK-NEXT: ret i32 7
11 ; CHECK: define i32 @foo() {
12 ; CHECK-NEXT: ret i32 0