summaryrefslogtreecommitdiff
path: root/tests/cxx/tree/list/ctor/test.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/tree/list/ctor/test.xsd')
-rw-r--r--tests/cxx/tree/list/ctor/test.xsd18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/cxx/tree/list/ctor/test.xsd b/tests/cxx/tree/list/ctor/test.xsd
new file mode 100644
index 0000000..f090bb8
--- /dev/null
+++ b/tests/cxx/tree/list/ctor/test.xsd
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
+
+ <simpleType name="string-list">
+ <list itemType="string"/>
+ </simpleType>
+
+ <!-- Test name conflict resolution. -->
+
+ <simpleType name="size_type">
+ <list itemType="int"/>
+ </simpleType>
+
+ <simpleType name="I">
+ <list itemType="int"/>
+ </simpleType>
+
+</schema>