1 ; RUN: opt < %s -tailcallelim -S | \
2 ; RUN: grep {call i32 @foo}
4 declare void @bar(i32*)
6 define i32 @foo(i32 %N) {
7 %A = alloca i32, i32 %N ; <i32*> [#uses=2]
9 call void @bar( i32* %A )
10 %X = tail call i32 @foo( i32 %N ) ; <i32> [#uses=1]