1 ; RUN: llvm-link %S/Inputs/2003-05-31-LinkerRename.ll %s -S | FileCheck %s
3 ; CHECK: @bar = global ptr @foo.2
5 ; CHECK: define internal i32 @foo.2() {
6 ; CHECK-NEXT: ret i32 7
9 ; CHECK: define i32 @test() {
10 ; CHECK-NEXT: %X = call i32 @foo()
11 ; CHECK-NEXT: ret i32 %X
14 ; CHECK: declare i32 @foo()