diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-23 21:13:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-23 21:13:26 +0000 |
commit | 8d8523b27a15dd733bfb2e880fba9e667bfe7e2b (patch) | |
tree | 776b809e8a7e3cba9fdf2ad348ed964d3850dcbd /test | |
parent | c07ae39c3d06e714b5a45851810bf7094004f4d2 (diff) | |
download | external_llvm-8d8523b27a15dd733bfb2e880fba9e667bfe7e2b.zip external_llvm-8d8523b27a15dd733bfb2e880fba9e667bfe7e2b.tar.gz external_llvm-8d8523b27a15dd733bfb2e880fba9e667bfe7e2b.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll new file mode 100644 index 0000000..2800e3b --- /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* } |