1 ; RUN: opt < %s -inline -S | FileCheck %s
2 ; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
4 ; 'bar' can be overridden at link-time, don't inline it.
5 define weak void @bar() {
6 ; CHECK-LABEL: define weak void @bar()
12 ; CHECK-LABEL: define void @foo()
15 ; CHECK: tail call void @bar()