projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4e0a4aff9dbc5950d13b810433d628d3082de75d
[oota-llvm.git]
/
test
/
Transforms
/
FunctionResolve
/
2003-08-23-ArgumentWarning.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve -disable-output 2>&1 | not grep WARNING
2
3
declare int %foo(int *%X)
4
declare int %foo(float *%X)
5
6
implementation
7
8
void %test() {
9
call int %foo(int* null)
10
call int %foo(float* null)
11
ret void
12
}