NEw testcase to handle "yet another" return type mismatch possibility

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-30 00:34:52 +00:00
parent 446698b63d
commit 9559ac2876

View File

@ -0,0 +1,12 @@
; RUN: as < %s | opt -funcresolve
declare int %read(...)
long %read(int %fildes, sbyte* %buf, ulong %nbyte) {
ret long 0
}
int %testfunc() {
%X = call int(...)* %read()
ret int %X
}