New testcase for PR491

llvm-svn: 19178
This commit is contained in:
Chris Lattner 2004-12-29 04:27:26 +00:00
parent c6141111a5
commit 44b225d4d4
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
; RUN: llvm-as < %s | opt -dse | llvm-dis | grep 'store int 1234567'
int %test() {
%V = alloca int
store int 1234567, int* %V
%V2 = cast int* %V to sbyte*
store sbyte 0, sbyte* %V2
%X = load int* %V
ret int %X
}