mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
Testcase that causes an assertion failure in lib/Analysis/Expressions.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2286a9c34a
commit
6a314b58c7
13
test/Other/2002-03-11-ExprAssertion.ll
Normal file
13
test/Other/2002-03-11-ExprAssertion.ll
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: analyze -exprs %s
|
||||
|
||||
implementation
|
||||
|
||||
void "foo"(int %reg126)
|
||||
begin
|
||||
%cast1007 = cast int %reg126 to uint ; <uint> [#uses=1]
|
||||
|
||||
%reg119 = sub uint %cast1007, %cast1007 ; <uint> [#uses=1]
|
||||
%cast121 = cast uint %reg119 to sbyte * ; <sbyte *> [#uses=1]
|
||||
|
||||
ret void
|
||||
end
|
Loading…
Reference in New Issue
Block a user