diff options
Diffstat (limited to 'test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx')
-rw-r--r-- | test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx b/test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx new file mode 100644 index 0000000..918252d --- /dev/null +++ b/test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=c | grep func1 | grep WEAK + +implementation + +linkonce int %func1 () { + ret int 5 +} + |