aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/polymorphism/ostream/test.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/tree/polymorphism/ostream/test.xsd')
-rw-r--r--tests/cxx/tree/polymorphism/ostream/test.xsd13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/cxx/tree/polymorphism/ostream/test.xsd b/tests/cxx/tree/polymorphism/ostream/test.xsd
index ddeaeae..688cd5a 100644
--- a/tests/cxx/tree/polymorphism/ostream/test.xsd
+++ b/tests/cxx/tree/polymorphism/ostream/test.xsd
@@ -2,12 +2,21 @@
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test"
targetNamespace="test" elementFormDefault="qualified">
- <complexType name="base">
+ <complexType name="abst_base" abstract="1">
<sequence>
<element name="a" type="string"/>
- <element name="fund" type="int"/>
</sequence>
</complexType>
+
+ <complexType name="base">
+ <complexContent>
+ <extension base="t:abst_base">
+ <sequence>
+ <element name="fund" type="int"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
<element name="base" type="t:base"/>
<complexType name="derived1">