summaryrefslogtreecommitdiffstats
path: root/test/expect
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-08 16:49:44 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-08 16:49:44 (GMT)
commitc97aef7dd5919db271fdf4d6abe7419a2105bbbd (patch)
tree89a0b9f02c5764896eb974465f511088e3fe4c84 /test/expect
parentc113a2b0a0c931f0a83a3cc27f13fd34687a92c0 (diff)
downloadCastXML-c97aef7dd5919db271fdf4d6abe7419a2105bbbd.zip
CastXML-c97aef7dd5919db271fdf4d6abe7419a2105bbbd.tar.gz
CastXML-c97aef7dd5919db271fdf4d6abe7419a2105bbbd.tar.bz2
test: Add case for nested namespaces
Diffstat (limited to 'test/expect')
-rw-r--r--test/expect/gccxml.any.Namespace-nested.xml.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Namespace-nested.xml.txt b/test/expect/gccxml.any.Namespace-nested.xml.txt
new file mode 100644
index 0000000..9b0e0c3
--- /dev/null
+++ b/test/expect/gccxml.any.Namespace-nested.xml.txt
@@ -0,0 +1,13 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Namespace id="_1" name="start" context="_2" members="_3 _4 _5"/>
+ <Namespace id="_3" name="ns1" context="_1" members="_6"/>
+ <Namespace id="_4" name="ns2" context="_1" members="_7"/>
+ <Namespace id="_5" name="ns3" context="_1" members="_8"/>
+ <Function id="_6" name="f1" returns="_9" context="_3" location="f1:3" file="f1" line="3" mangled="[^"]+"/>
+ <Function id="_7" name="f2" returns="_9" context="_4" location="f1:6" file="f1" line="6" mangled="[^"]+"/>
+ <Function id="_8" name="f3" returns="_9" context="_5" location="f1:9" file="f1" line="9" mangled="[^"]+"/>
+ <FundamentalType id="_9" name="void" size="[0-9]+" align="[0-9]+"/>
+ <Namespace id="_2" name="::"/>
+ <File id="f1" name=".*/test/input/Namespace-nested.cxx"/>
+</GCC_XML>$