From f5838397cbfc783994d52472df6a797519bff6aa Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 15 May 2003 16:01:32 +0000 Subject: [PATCH] New linker problem from twolf benchmark git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6224 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/2003-05-15-TypeProblem.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Linker/2003-05-15-TypeProblem.ll diff --git a/test/Linker/2003-05-15-TypeProblem.ll b/test/Linker/2003-05-15-TypeProblem.ll new file mode 100644 index 00000000000..37bdbfd3bff --- /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 + -- 2.34.1