1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Regression/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx
John Criswell d0574b7bd2 Regression tests for PR258 and PR259.
2004-02-26-FPNotPrintableConstants.llx ensures that constants used in an
LLVM program are declared static if they are assigned to global variables.
2004-02-26-LinkOnceFunctions.llx ensures that linkonce functions get the
weak attribute.

llvm-svn: 11885
2004-02-26 22:55:11 +00:00

9 lines
117 B
Plaintext

; RUN: llvm-as < %s | llc -march=c | grep func1 | grep WEAK
implementation
linkonce int %func1 () {
ret int 5
}