summaryrefslogtreecommitdiffstats
path: root/test/Assembler
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-07 23:41:10 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-07 23:41:10 +0000
commit2aa745e7099d192fcd37bcb53af1d921b8a692be (patch)
treeaef680189d7b45724155da4229c3d96193eaa601 /test/Assembler
parent12f0c7b9cfccc887d9026fd1bc06c0661704e35c (diff)
downloadexternal_llvm-2aa745e7099d192fcd37bcb53af1d921b8a692be.zip
external_llvm-2aa745e7099d192fcd37bcb53af1d921b8a692be.tar.gz
external_llvm-2aa745e7099d192fcd37bcb53af1d921b8a692be.tar.bz2
For PR1187:
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
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/2007-02-07-RenameInternals.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/2007-02-07-RenameInternals.ll b/test/Assembler/2007-02-07-RenameInternals.ll
new file mode 100644
index 0000000..56b0058
--- /dev/null
+++ b/test/Assembler/2007-02-07-RenameInternals.ll
@@ -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
+}