summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Namespace-nested-2.xml.txt
diff options
context:
space:
mode:
authorMichka Popoff <michkapopoff@gmail.com>2015-05-25 08:55:04 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-08 17:00:28 (GMT)
commit73b947ec075e536535e9cc5bec84d1bed4d43d5b (patch)
treea4ed0fa1ee5da56fda04f358d34b63c90fd9eb81 /test/expect/gccxml.any.Namespace-nested-2.xml.txt
parentad7f0dc7df8ed8ea32498a61d64dce0024478c00 (diff)
downloadCastXML-73b947ec075e536535e9cc5bec84d1bed4d43d5b.zip
CastXML-73b947ec075e536535e9cc5bec84d1bed4d43d5b.tar.gz
CastXML-73b947ec075e536535e9cc5bec84d1bed4d43d5b.tar.bz2
castxml: Teach --castxml-start to support a comma-separated list
In gccxml one could input a comma-separated list for the starting declarations to parse. Add support for this with tests for cases were a comma-separated list is used, and for the case where --castxml-start is used multiple times.
Diffstat (limited to 'test/expect/gccxml.any.Namespace-nested-2.xml.txt')
-rw-r--r--test/expect/gccxml.any.Namespace-nested-2.xml.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Namespace-nested-2.xml.txt b/test/expect/gccxml.any.Namespace-nested-2.xml.txt
new file mode 100644
index 0000000..49673f0
--- /dev/null
+++ b/test/expect/gccxml.any.Namespace-nested-2.xml.txt
@@ -0,0 +1,11 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Namespace id="_1" name="ns1" context="_3" members="_4"/>
+ <Namespace id="_2" name="ns3" context="_3" members="_5"/>
+ <Function id="_4" name="f1" returns="_6" context="_1" location="f1:3" file="f1" line="3" mangled="[^"]+"/>
+ <Function id="_5" name="f3" returns="_6" context="_2" location="f1:9" file="f1" line="9" mangled="[^"]+"/>
+ <FundamentalType id="_6" name="void" size="[0-9]+" align="[0-9]+"/>
+ <Namespace id="_3" name="start" context="_7"/>
+ <Namespace id="_7" name="::"/>
+ <File id="f1" name=".*/test/input/Namespace-nested.cxx"/>
+</GCC_XML>$