summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Linker/2003-10-21-ConflictingTypesTolerance.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Linker/2003-10-21-ConflictingTypesTolerance.ll b/test/Linker/2003-10-21-ConflictingTypesTolerance.ll
new file mode 100644
index 0000000000..afc8f4666d
--- /dev/null
+++ b/test/Linker/2003-10-21-ConflictingTypesTolerance.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo "%S = type [8 x int] external global %S " | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out[12].bc | llvm-dis | grep %S | grep '{'
+
+%S = type { int }
+
+