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