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