New testcase
authorChris Lattner <sabre@nondot.org>
Thu, 30 Jan 2003 20:03:15 +0000 (20:03 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 30 Jan 2003 20:03:15 +0000 (20:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5440 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2003-01-30-LinkerTypeRename.ll [new file with mode: 0644]

diff --git a/test/Linker/2003-01-30-LinkerTypeRename.ll b/test/Linker/2003-01-30-LinkerTypeRename.ll
new file mode 100644 (file)
index 0000000..a8837f7
--- /dev/null
@@ -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
+