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

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