summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+}