xref: /aosp_15_r20/external/llvm/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: opt < %s -inline -prune-eh -disable-output
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine linkonce void @caller() {
4*9880d681SAndroid Build Coastguard Worker        call void @callee( )
5*9880d681SAndroid Build Coastguard Worker        ret void
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerdefine linkonce void @callee() {
9*9880d681SAndroid Build Coastguard Worker        ret void
10*9880d681SAndroid Build Coastguard Worker}
11*9880d681SAndroid Build Coastguard Worker
12