Misha Brukman | e78760e | 2003-09-16 15:29:54 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING |
Chris Lattner | c4d360d | 2003-08-23 19:59:55 +0000 | [diff] [blame] | 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 | } |