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(...) +