summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Destructor.xml.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-18 17:51:09 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-18 19:12:17 (GMT)
commit1932cf268d410f9b9f60374de0a5a65147ee0849 (patch)
treeea0619fe5d4c7f347161119c65c6323dba0e4de5 /test/expect/gccxml.any.Destructor.xml.txt
parent5332497fc15af20f19c7ce19766a78aae926a0d0 (diff)
downloadCastXML-1932cf268d410f9b9f60374de0a5a65147ee0849.zip
CastXML-1932cf268d410f9b9f60374de0a5a65147ee0849.tar.gz
CastXML-1932cf268d410f9b9f60374de0a5a65147ee0849.tar.bz2
test: Add tests for Constructor, Destructor, and Converter elements
Diffstat (limited to 'test/expect/gccxml.any.Destructor.xml.txt')
-rw-r--r--test/expect/gccxml.any.Destructor.xml.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Destructor.xml.txt b/test/expect/gccxml.any.Destructor.xml.txt
new file mode 100644
index 0000000..130b197
--- /dev/null
+++ b/test/expect/gccxml.any.Destructor.xml.txt
@@ -0,0 +1,17 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Class id="_1" name="start" context="_2" location="f1:1" file="f1" line="1" members="_3 _4 _5 _6" size="[0-9]+" align="[0-9]+"/>
+ <Destructor id="_3" name="start" context="_1" access="private" location="f1:2" file="f1" line="2"/>
+ <Constructor id="_4" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?/>
+ <Constructor id="_5" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?>
+ <Argument type="_7" location="f1:1" file="f1" line="1"/>
+ </Constructor>
+ <OperatorMethod id="_6" name="=" returns="_8" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")? mangled="[^"]+">
+ <Argument type="_7" location="f1:1" file="f1" line="1"/>
+ </OperatorMethod>
+ <ReferenceType id="_7" type="_1c"/>
+ <CvQualifiedType id="_1c" type="_1" const="1"/>
+ <ReferenceType id="_8" type="_1"/>
+ <Namespace id="_2" name="::"/>
+ <File id="f1" name=".*/test/input/Destructor.cxx"/>
+</GCC_XML>$