aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll
blob: 7fe81cc9b543ed490c762102b7b25cd719224a27 (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | llc -march=sparc | grep weak

define weak i32 @func() nounwind {
entry:
  ret i32 0
}