summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit70c5421547fb90634f005a16e7399f22cf434348 (patch)
tree3653ce16d31c7839c21ff4ff01d72f03aadb5427 /llvm
parente62a6faef97759b64442d0bc7e4aa8b80de16991 (diff)
downloadbcm5719-llvm-70c5421547fb90634f005a16e7399f22cf434348.tar.gz
bcm5719-llvm-70c5421547fb90634f005a16e7399f22cf434348.zip
new testcase
llvm-svn: 7987
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/Linker/2003-08-20-OpaqueTypeResolve.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Regression/Linker/2003-08-20-OpaqueTypeResolve.ll b/llvm/test/Regression/Linker/2003-08-20-OpaqueTypeResolve.ll
new file mode 100644
index 00000000000..01943364f8c
--- /dev/null
+++ b/llvm/test/Regression/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 }
OpenPOWER on IntegriCloud