1 ; RUN: llvm-as %s -o %t1.bc
2 ; RUN: echo {declare void @__eprintf(i8*, i8*, i32, i8*) noreturn define void @foo() { tail call void @__eprintf( i8* undef, i8* undef, i32 4, i8* null ) noreturn nounwind unreachable }} | llvm-as -o %t2.bc
3 ; RUN: llvm-link %t2.bc %t1.bc -S | grep __eprintf
4 ; RUN: llvm-link %t1.bc %t2.bc -S | grep __eprintf
8 @__eprintf = external global i8* ; <i8**> [#uses=1]
11 %A = load i8** @__eprintf ; <i8*> [#uses=1]