summaryrefslogtreecommitdiff
path: root/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
blob: 3dddb013f7ce65a6b013fb1b6f2e7cfce9ba7a8e (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
}