summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Function-Argument-default.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.Function-Argument-default.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.Function-Argument-default.xml.txt')
-rw-r--r--test/expect/gccxml.any.Function-Argument-default.xml.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Function-Argument-default.xml.txt b/test/expect/gccxml.any.Function-Argument-default.xml.txt
new file mode 100644
index 0000000..8160551
--- /dev/null
+++ b/test/expect/gccxml.any.Function-Argument-default.xml.txt
@@ -0,0 +1,14 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1">
+ <Argument type="_4" location="f1:1" file="f1" line="1" default="123"/>
+ <Argument type="_5" location="f1:1" file="f1" line="1" default="&quot;abc&quot;"/>
+ </Function>
+ <FundamentalType id="_2" name="void"/>
+ <FundamentalType id="_4" name="int"/>
+ <PointerType id="_5" type="_7c"/>
+ <Namespace id="_3" name="::"/>
+ <FundamentalType id="_7" name="char"/>
+ <CvQualifiedType id="_7c" type="_7" const="1"/>
+ <File id="f1" name=".*/test/input/Function-Argument-default.cxx"/>
+</GCC_XML>$