blob: 3e2dbfefae13be4c0306bc1ce503a265d3f0d259 [file] [log] [blame]
; RUN: llvm-upgrade < %s | llvm-as -o - | llc
; This caused 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