1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-27 22:12:47 +01:00
llvm-mirror/test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll

11 lines
193 B
LLVM
Raw Normal View History

2002-07-16 23:33:27 +02:00
; 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
}