blob: 7667114b68e66ae15ac5633427ab9d2f863cc7b5 [file] [log] [blame]
Dmitri Gribenkod7beca82013-01-01 13:57:25 +00001; RUN: opt -inline -S < %s | FileCheck %s
Eric Christopherb1a382d2010-03-25 04:49:10 +00002; PR6682
3declare void @foo() nounwind
4
5define void @bar() nounwind {
6entry:
7 tail call void @foo() nounwind
8 ret void
9}
10
11define void @bazz() nounwind {
12entry:
13 tail call void @bar() nounwind noinline
14 ret void
15}
16
17; CHECK: define void @bazz()
18; CHECK: call void @bar()