From f429d28a99469cdf75fd3eb8151ff41376e0d552 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 30 Jan 2003 20:03:15 +0000 Subject: [PATCH] New testcase llvm-svn: 5440 --- .../Regression/Linker/2003-01-30-LinkerTypeRename.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll 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 000000000000..a8837f7770e1 --- /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 +