diff options
Diffstat (limited to 'test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll')
-rw-r--r-- | test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll b/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll new file mode 100644 index 000000000000..0167d3237aad --- /dev/null +++ b/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll @@ -0,0 +1,6 @@ +; RUN: llc -march=sparc < %s | grep weak + +define weak i32 @func() nounwind { +entry: + ret i32 0 +} |