summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.OperatorFunction.xml.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-09 20:17:56 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-09 20:44:13 (GMT)
commit831ffbfb9a9e57436058eaead8eedf081b03103e (patch)
tree6adf288649ebff5aa5c6d2c7931ed585e1973fd9 /test/expect/gccxml.any.OperatorFunction.xml.txt
parent174356cdb7f27e741f9668883d1c5d558e20bc6b (diff)
downloadCastXML-831ffbfb9a9e57436058eaead8eedf081b03103e.zip
CastXML-831ffbfb9a9e57436058eaead8eedf081b03103e.tar.gz
CastXML-831ffbfb9a9e57436058eaead8eedf081b03103e.tar.bz2
test: Name expected results by language standard
Name files "gccxml.<std>.<test>.(stdout|stderr|result|xml).txt" where "<std>" is either the language standard or "any" if the result works for any standard.
Diffstat (limited to 'test/expect/gccxml.any.OperatorFunction.xml.txt')
-rw-r--r--test/expect/gccxml.any.OperatorFunction.xml.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.OperatorFunction.xml.txt b/test/expect/gccxml.any.OperatorFunction.xml.txt
new file mode 100644
index 0000000..d53e058
--- /dev/null
+++ b/test/expect/gccxml.any.OperatorFunction.xml.txt
@@ -0,0 +1,13 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Namespace id="_1" name="start" context="_2" members="_3"/>
+ <OperatorFunction id="_3" name="&lt;&lt;" returns="_4" context="_1" location="f1:3" file="f1" line="3">
+ <Argument type="_4" location="f1:3" file="f1" line="3"/>
+ <Argument type="_5" location="f1:3" file="f1" line="3"/>
+ </OperatorFunction>
+ <ReferenceType id="_4" type="_6"/>
+ <FundamentalType id="_5" name="int"/>
+ <Namespace id="_2" name="::"/>
+ <Class id="_6" name="A" context="_2" location="f1:1" file="f1" line="1" incomplete="1"/>
+ <File id="f1" name=".*/test/input/OperatorFunction.cxx"/>
+</GCC_XML>$