summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-30 20:03:15 +0000
committerChris Lattner <sabre@nondot.org>2003-01-30 20:03:15 +0000
commitf429d28a99469cdf75fd3eb8151ff41376e0d552 (patch)
treee2b17d898b16ef394630a31b4befccb9a51994b9
parent2e65dd3575ec6337ce4cee326b32b014161127a6 (diff)
downloadbcm5719-llvm-f429d28a99469cdf75fd3eb8151ff41376e0d552.tar.gz
bcm5719-llvm-f429d28a99469cdf75fd3eb8151ff41376e0d552.zip
New testcase
llvm-svn: 5440
-rw-r--r--llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll b/llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll
new file mode 100644
index 00000000000..a8837f7770e
--- /dev/null
+++ b/llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll
@@ -0,0 +1,9 @@
+; This fails because the linker renames the non-opaque type not the opaque
+; one...
+
+; RUN: echo "%Ty = type opaque" | as > Output/%s.1.bc
+; RUN: as < %s > Output/%s.2.bc
+; RUN: link Output/%s.[12].bc | dis | grep '%Ty ' | grep -v opaque
+
+%Ty = type int
+
OpenPOWER on IntegriCloud