blob: 6a7faf411ff92e4331152580bedfc58873d70316 [file] [log] [blame]
; This crashes raise, with an cast<> failure
; RUN: as < %s | opt -raise
implementation
sbyte* %test(int* %ptr) {
%A = cast int* %ptr to sbyte *
%A = cast sbyte* %A to ulong
%B = add ulong %A, %A
%B = cast ulong %B to sbyte*
ret sbyte * %B
}