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