aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Linker/2003-06-02-TypeResolveProblem2.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Linker/2003-06-02-TypeResolveProblem2.ll b/test/Linker/2003-06-02-TypeResolveProblem2.ll
new file mode 100644
index 0000000000..41a49c1c99
--- /dev/null
+++ b/test/Linker/2003-06-02-TypeResolveProblem2.ll
@@ -0,0 +1,8 @@
+; RUN: echo "%T = type int" | as > Output/%s.1.bc
+; RUN: as < %s > Output/%s.2.bc
+; RUN: link Output/%s.[12].bc
+
+%T = type opaque
+
+%X = constant {%T*} {%T* null }
+