summaryrefslogtreecommitdiff
path: root/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
blob: 3d01d1709952a3ebb0ee045e7517108875db27a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt < %s -tailcallelim -S | \
; RUN:    grep "tail call void @foo"


declare void @foo()

define void @bar() {
	call void @foo( )
	ret void
}