summaryrefslogtreecommitdiffstats
path: root/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
blob: 5041467604ae86cef84df8b9036f4365e9a4bc07 (plain)
1
2
3
4
5
6
7
8
9
; It's a bad idea to go recursively traipsing through types without a safety 
; net.

; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%S = type { %S*, i32* }" | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc

%S = type { %S*, opaque* }

OpenPOWER on IntegriCloud