From 0ac5af08dcd9e0f404c02fc00f2f4e5eaf95bc81 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 20 Nov 2003 21:04:35 +0000 Subject: [PATCH] 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 --- .../FunctionResolve/2003-11-20-BogusResolveWarning.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll 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(...) +