mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2c5a6428d
commit
4069c8400b
10
test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll
Normal file
10
test/Transforms/LevelRaise/2002-07-16-RaiseCrash2.ll
Normal file
@ -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
Block a user