aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/polymorphism/ostream/test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/tree/polymorphism/ostream/test.xml')
-rw-r--r--tests/cxx/tree/polymorphism/ostream/test.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/cxx/tree/polymorphism/ostream/test.xml b/tests/cxx/tree/polymorphism/ostream/test.xml
new file mode 100644
index 0000000..157e15c
--- /dev/null
+++ b/tests/cxx/tree/polymorphism/ostream/test.xml
@@ -0,0 +1,9 @@
+<t:root xmlns:t="test"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="test test.xsd">
+
+ <base><a>a</a><fund>1</fund></base>
+ <base xsi:type="t:derived1"><a>a</a><fund>1</fund><b>b</b></base>
+ <base xsi:type="t:derived2"><a>a</a><fund>1</fund><c>c1</c><c>c2</c></base>
+
+</t:root>