Add testcase that is fscking twolf

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4615 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-08 00:22:07 +00:00
parent 368eb9d23a
commit 1aa11cf08a

View File

@ -0,0 +1,15 @@
; 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
}