diff --git a/test/Linker/2003-08-20-OpaqueTypeResolve.ll b/test/Linker/2003-08-20-OpaqueTypeResolve.ll new file mode 100644 index 00000000000..01943364f8c --- /dev/null +++ b/test/Linker/2003-08-20-OpaqueTypeResolve.ll @@ -0,0 +1,8 @@ + +; RUN: as < %s > Output/%s.out1.bc +; RUN: echo "%S = type { int, int* }" | as > Output/%s.out2.bc +; RUN: link Output/%s.out[12].bc + +%T = type opaque +%S = type { int, %T* } +;%X = global { int, %T* } { int 5, %T* null }