new testcase
authorChris Lattner <sabre@nondot.org>
Wed, 20 Aug 2003 19:22:28 +0000 (19:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 20 Aug 2003 19:22:28 +0000 (19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7987 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2003-08-20-OpaqueTypeResolve.ll [new file with mode: 0644]

diff --git a/test/Linker/2003-08-20-OpaqueTypeResolve.ll b/test/Linker/2003-08-20-OpaqueTypeResolve.ll
new file mode 100644 (file)
index 0000000..0194336
--- /dev/null
@@ -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 }