llvm-6502/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
2003-09-15 20:04:28 +00:00

9 lines
260 B
LLVM

; It's a bad idea to go recursively traipsing through types without a safety
; net.
; RUN: llvm-as < %s > Output/%s.out1.bc
; RUN: echo "%S = type { %S*, int* }" | llvm-as > Output/%s.out2.bc
; RUN: llvm-link Output/%s.out[12].bc
%S = type { %S*, opaque* }