Chris Lattner | a91f8ca | 2002-11-08 00:31:27 +0000 | [diff] [blame] | 1 | ; RUN: if as < %s | opt -funcresolve -funcresolve | dis | grep declare |
Chris Lattner | 1aa11cf | 2002-11-08 00:22:07 +0000 | [diff] [blame] | 2 | ; RUN: then exit 1 |
3 | ; RUN: else exit 0 | ||||
4 | ; RUN: fi | ||||
5 | |||||
6 | declare void %qsortg(sbyte*, int, int) | ||||
7 | |||||
8 | void %test() { | ||||
9 | call void %qsortg(sbyte* null, int 0, int 0) | ||||
10 | ret void | ||||
11 | } | ||||
12 | |||||
13 | int %qsortg(sbyte* %base, int %n, int %size) { | ||||
14 | ret int %n | ||||
15 | } |