mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
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:
parent
368eb9d23a
commit
1aa11cf08a
15
test/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll
Normal file
15
test/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user