aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll
blob: 8d89c7d4a4f63b78ec006e2ea971fc7cd24f97a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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
}