summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Function-Argument-decay.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-decay.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-decay.xml.txt')
-rw-r--r--test/expect/gccxml.any.Function-Argument-decay.xml.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Function-Argument-decay.xml.txt b/test/expect/gccxml.any.Function-Argument-decay.xml.txt
new file mode 100644
index 0000000..d295f6d
--- /dev/null
+++ b/test/expect/gccxml.any.Function-Argument-decay.xml.txt
@@ -0,0 +1,17 @@
+^<\?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"/>
+ <Argument type="_4" location="f1:1" file="f1" line="1"/>
+ <Argument type="_5" location="f1:1" file="f1" line="1"/>
+ </Function>
+ <FundamentalType id="_2" name="void"/>
+ <PointerType id="_4" type="_6"/>
+ <PointerType id="_5" type="_7"/>
+ <Namespace id="_3" name="::"/>
+ <FundamentalType id="_6" name="int"/>
+ <FunctionType id="_7" returns="_6">
+ <Argument type="_6"/>
+ </FunctionType>
+ <File id="f1" name=".*/test/input/Function-Argument-decay.cxx"/>
+</GCC_XML>$