diff --git a/test/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll b/test/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll new file mode 100644 index 00000000000..9f6bc2ce1ed --- /dev/null +++ b/test/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll @@ -0,0 +1,12 @@ +; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING + +declare int %foo(int *%X) +declare int %foo(float *%X) + +implementation + +void %test() { + call int %foo(int* null) + call int %foo(float* null) + ret void +}