aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-20 19:22:28 +0000
committerChris Lattner <sabre@nondot.org>2003-08-20 19:22:28 +0000
commita925b47300e8ce41f3e29e952dac84510d086bad (patch)
treebd09bb69bba0eb77c75894e8e35f952a52398ff7
parente84a6d0e7ddb08cd484818b6d267164ad684b0e4 (diff)
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7987 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Linker/2003-08-20-OpaqueTypeResolve.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Linker/2003-08-20-OpaqueTypeResolve.ll b/test/Linker/2003-08-20-OpaqueTypeResolve.ll
new file mode 100644
index 0000000000..01943364f8
--- /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 }