aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/hybrid/polymorphism/any-type/test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/hybrid/polymorphism/any-type/test.xml')
-rw-r--r--tests/cxx/hybrid/polymorphism/any-type/test.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cxx/hybrid/polymorphism/any-type/test.xml b/tests/cxx/hybrid/polymorphism/any-type/test.xml
new file mode 100644
index 0000000..f0a8bcb
--- /dev/null
+++ b/tests/cxx/hybrid/polymorphism/any-type/test.xml
@@ -0,0 +1,7 @@
+<t:root xmlns:t="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <t:any><x>abc</x>junk<y>123</y></t:any>
+ <t:base ><a>123</a><b>abc</b></t:base>
+ <t:any xsi:type="t:derived"><a>123</a><b>abc</b><c>9</c><c>8</c><c>7</c></t:any>
+
+</t:root>