New testcase

llvm-svn: 17665
This commit is contained in:
Chris Lattner 2004-11-10 19:43:31 +00:00
parent 04570265a5
commit 59e5462557
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
; RUN: llvm-as < %s | opt -ipconstprop -deadargelim | llvm-dis | not grep %X
implementation
internal int %foo(int %X) {
%Y = call int %foo( int %X )
%Z = add int %Y, 1
ret int %Z
}
void %bar() {
call int %foo( int 17 ) ; <int>:0 [#uses=0]
ret void
}