From: Chris Lattner Date: Thu, 20 Nov 2003 21:04:35 +0000 (+0000) Subject: Fix an all too common form of the 'Found global types that are not compatible' warning X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ac5af08dcd9e0f404c02fc00f2f4e5eaf95bc81;p=oota-llvm.git Fix an all too common form of the 'Found global types that are not compatible' warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10122 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll b/test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll new file mode 100644 index 00000000000..2736a53a96b --- /dev/null +++ b/test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING + + +void %test() { + call int(...)* %test() + ret void +} + +declare int %test(...) +