New linker problem from twolf benchmark
authorChris Lattner <sabre@nondot.org>
Thu, 15 May 2003 16:01:32 +0000 (16:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 May 2003 16:01:32 +0000 (16:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6224 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2003-05-15-TypeProblem.ll [new file with mode: 0644]

diff --git a/test/Linker/2003-05-15-TypeProblem.ll b/test/Linker/2003-05-15-TypeProblem.ll
new file mode 100644 (file)
index 0000000..37bdbfd
--- /dev/null
@@ -0,0 +1,10 @@
+; This one fails because the LLVM runtime is allowing two null pointers of
+; the same type to be created!
+
+; RUN: echo "%S = type { %T*} %T = type opaque" | as > Output/%s.2.bc
+; RUN: as < %s > Output/%s.1.bc
+; RUN: link Output/%s.[12].bc
+
+%S = type { %T* }
+%T = type int
+