; RUN: llvm-as < %s > %t.out1.bc; RUN: echo "%S = type int" | llvm-as > %t.out2.bc; RUN: llvm-link %t.out[21].bc%S=typeopaquevoid%foo(int*%V){retvoid}declarevoid%foo(%S*)void%other(){callvoid%foo(%S*null); Add a use of the unresolved protocallvoid%foo(int*null); Add a use of the resolved functionretvoid}