Checkin first unit testcases for the backend

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-04-14 06:23:00 +00:00
parent 649f5dd77a
commit b42b7f921a
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,13 @@
; This causes the backend to assert out with:
; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
;
implementation
declare void "bar"(sbyte* %G)
void "foo"()
begin
%cast225 = cast ulong 123456 to sbyte* ; <sbyte*> [#uses=1]
call void %bar( sbyte* %cast225)
ret void
end