aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-15 16:01:32 +0000
committerChris Lattner <sabre@nondot.org>2003-05-15 16:01:32 +0000
commitf5838397cbfc783994d52472df6a797519bff6aa (patch)
tree01f18c794399f36ac716e79e28f24c9b5a7fff79
parent07f2e54d120e3f0cdb6dbf2c1030f436353da699 (diff)
New linker problem from twolf benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6224 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Linker/2003-05-15-TypeProblem.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Linker/2003-05-15-TypeProblem.ll b/test/Linker/2003-05-15-TypeProblem.ll
new file mode 100644
index 0000000000..37bdbfd3bf
--- /dev/null
+++ b/test/Linker/2003-05-15-TypeProblem.ll
@@ -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
+