; RUN: if as < %s | opt -funcresolve -globaldce | dis | grep declare
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi

declare void %qsortg(sbyte*, int, int)

void %test() {
	call void %qsortg(sbyte* null, int 0, int 0)
	ret void
}

int %qsortg(sbyte* %base, int %n, int %size) {
	ret int %n
}

Add testcase that is fscking twolf
Add testcase that is fscking twolf


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@4615 91177308-0d34-0410-b5e6-96231b3b80d8
