blob: 468b6874d7cdf49da024888ff00796f9a00410dc [file] [log] [blame]
Chris Lattnera91f8ca2002-11-08 00:31:27 +00001; RUN: if as < %s | opt -funcresolve -funcresolve | dis | grep declare
Chris Lattner1aa11cf2002-11-08 00:22:07 +00002; RUN: then exit 1
3; RUN: else exit 0
4; RUN: fi
5
6declare void %qsortg(sbyte*, int, int)
7
8void %test() {
9 call void %qsortg(sbyte* null, int 0, int 0)
10 ret void
11}
12
13int %qsortg(sbyte* %base, int %n, int %size) {
14 ret int %n
15}