hanchenye-llvm-project/llvm/test/Regression/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll

13 lines
235 B
LLVM

; RUN: llvm-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
}