From 8d8523b27a15dd733bfb2e880fba9e667bfe7e2b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Aug 2003 21:13:26 +0000 Subject: New testcase, which causes the linker to segv. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8082 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll (limited to 'test') diff --git a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll new file mode 100644 index 0000000000..2800e3b174 --- /dev/null +++ b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll @@ -0,0 +1,8 @@ +; It's a bad idea to go recursively trapesing through types without a safety +; net. + +; RUN: as < %s > Output/%s.out1.bc +; RUN: echo "%S = type { %S*, int* }" | as > Output/%s.out2.bc +; RUN: link Output/%s.out[12].bc + +%S = type { %S*, opaque* } -- cgit v1.2.3