Run llvm-upgrade on this test and/or upgrade intrinsic function calls.
[oota-llvm.git] / test / CodeGen / Generic / 2002-04-14-UnexpectedUnsignedType.ll
1 ; RUN: llvm-upgrade < %s | llvm-as -o - | llc 
2
3 ; This caused the backend to assert out with:
4 ; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
5 ;
6 implementation
7
8 declare void "bar"(sbyte* %G)
9
10 void "foo"()
11 begin
12         %cast225 = cast ulong 123456 to sbyte*          ; <sbyte*> [#uses=1]
13         call void %bar( sbyte* %cast225)
14         ret void
15 end