mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-27 22:12:47 +01:00
4a6544d9df
llvm-svn: 2931
11 lines
193 B
LLVM
11 lines
193 B
LLVM
; This crashes raise, with an cast<> failure
|
|
|
|
; RUN: as < %s | opt -raise
|
|
|
|
implementation
|
|
sbyte* %test(int* %ptr) {
|
|
%A = cast int* %ptr to sbyte *
|
|
%B = add sbyte* %A, %A
|
|
ret sbyte * %B
|
|
}
|