blob: ac36eabcd311eb342e10f7efa756094b994852ec [file] [log] [blame]
Chris Lattner62850162004-11-10 19:43:31 +00001; RUN: llvm-as < %s | opt -ipconstprop -deadargelim | llvm-dis | not grep %X
2
3implementation
4
5internal int %foo(int %X) {
6 %Y = call int %foo( int %X )
7 %Z = add int %Y, 1
8 ret int %Z
9}
10
11void %bar() {
12 call int %foo( int 17 ) ; <int>:0 [#uses=0]
13 ret void
14}