xref: /aosp_15_r20/external/llvm/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=sparc < %s | grep weak
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine weak i32 @func() nounwind {
4*9880d681SAndroid Build Coastguard Workerentry:
5*9880d681SAndroid Build Coastguard Worker  ret i32 0
6*9880d681SAndroid Build Coastguard Worker}
7