YouCompleteMe/cpp/llvm/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
2012-07-05 17:51:06 -07:00

12 lines
150 B
LLVM

; RUN: opt < %s -tailcallelim -S | \
; RUN: grep {tail call void @foo}
declare void @foo()
define void @bar() {
call void @foo( )
ret void
}