For PR1187:
authorReid Spencer <rspencer@reidspencer.com>
Wed, 7 Feb 2007 23:41:10 +0000 (23:41 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 7 Feb 2007 23:41:10 +0000 (23:41 +0000)
Add a test case to test rename of internal linkage functions with the same
name, without an error or warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34018 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2007-02-07-RenameInternals.ll [new file with mode: 0644]

diff --git a/test/Assembler/2007-02-07-RenameInternals.ll b/test/Assembler/2007-02-07-RenameInternals.ll
new file mode 100644 (file)
index 0000000..56b0058
--- /dev/null
@@ -0,0 +1,11 @@
+; PR1187
+; RUN: llvm-upgrade < %s > /dev/null
+
+implementation 
+internal void %func(int %x) {
+  ret void
+}
+
+internal void %func(int %x) {
+  ret void
+}