aboutsummaryrefslogtreecommitdiffstats
path: root/test/LLC/2002-04-14-UnexpectedUnsignedType.ll
blob: 6e617361bc81d8ff1dfdb5a113baa9009876ab7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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