llvm.org GIT mirror llvm / eb2073b test / Linker / 2003-08-23-RecursiveOpaqueTypeResolve.ll
eb2073b

Tree @eb2073b (Download .tar.gz)

2003-08-23-RecursiveOpaqueTypeResolve.ll @eb2073braw · history · blame

1
2
3
4
5
6
7
8
; It's a bad idea to go recursively traipsing through types without a safety 
; net.

; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
; RUN: echo "%S = type { %S*, int* }" | llvm-upgrade | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out[12].bc

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