1 ; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | \
2 ; RUN: %prcontext alloca 1 | grep 'i32 @foo'
4 declare void %bar(int*)
6 %A = alloca int ;; Should stay in entry block because of 'tail' marker
8 call void %bar(int* %A)
10 %X = tail call int %foo()