blob: dc3f6e003094aaa7ea9ce2656fbe9ed1a6595eb2 [file] [log] [blame]
Eric Christopherf27e6082010-03-25 04:49:10 +00001; RUN: opt %s -inline -S | FileCheck %s
2; 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()