[llvm-commits] CVS: llvm/test/Regression/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll

Chris Lattner lattner at cs.uiuc.edu
Sat Aug 23 16:14:02 PDT 2003


Changes in directory llvm/test/Regression/Linker:

2003-08-23-RecursiveOpaqueTypeResolve.ll added (r1.1)

---
Log message:

New testcase, which causes the linker to segv.


---
Diffs of the changes:

Index: llvm/test/Regression/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
diff -c /dev/null llvm/test/Regression/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll:1.1
*** /dev/null	Sat Aug 23 16:13:36 2003
--- llvm/test/Regression/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll	Sat Aug 23 16:13:26 2003
***************
*** 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* }





More information about the llvm-commits mailing list