llvm-6502/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
2009-09-05 12:38:35 +00:00

10 lines
248 B
LLVM

; It's a bad idea to go recursively traipsing through types without a safety
; net.
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%M = type { %M*, i32* }" | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc
%M = type { %M*, opaque* }