New testcase for poitner problem

llvm-svn: 3657
This commit is contained in:
Chris Lattner 2002-09-10 19:41:57 +00:00
parent 28a8d2468a
commit f8013f3ca7
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
; RUN: as < %s | opt -raise
int* %test(int* %P, int* %Q) {
%P = cast int* %P to ulong
%Q = cast int* %Q to ulong
%V = add ulong %P, %Q
%V = cast ulong %V to int*
ret int* %V
}