aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-30 19:28:01 +0000
committerChris Lattner <sabre@nondot.org>2003-01-30 19:28:01 +0000
commit2ff400463f91adcb35f42d486b1532e3b016559b (patch)
tree2f2e9c6782ec004daf50f60f7807c1ed95de4268
parentda902ba970122d3fb39ffb0dfaa4bec1518c0176 (diff)
NEw testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5438 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Linker/2003-01-30-LinkerRename.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Linker/2003-01-30-LinkerRename.ll b/test/Linker/2003-01-30-LinkerRename.ll
new file mode 100644
index 0000000000..4956f7c003
--- /dev/null
+++ b/test/Linker/2003-01-30-LinkerRename.ll
@@ -0,0 +1,10 @@
+; This fails because the linker renames the external symbol not the internal
+; one...
+
+; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > Output/%s.1.bc
+; RUN: as < %s > Output/%s.2.bc
+; RUN: link Output/%s.[12].bc | dis | grep '%foo()' | grep -v internal
+
+implementation
+int %foo() { ret int 0 }
+