forked from OSchip/llvm-project
parent
e47dea14e1
commit
b744c9ba24
|
@ -0,0 +1,10 @@
|
|||
; 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
|
||||
}
|
Loading…
Reference in New Issue