summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Variable-init.xml.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/expect/gccxml.any.Variable-init.xml.txt')
-rw-r--r--test/expect/gccxml.any.Variable-init.xml.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Variable-init.xml.txt b/test/expect/gccxml.any.Variable-init.xml.txt
new file mode 100644
index 0000000..7eb4cf5
--- /dev/null
+++ b/test/expect/gccxml.any.Variable-init.xml.txt
@@ -0,0 +1,12 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Namespace id="_1" name="start" context="_2" members="_3 _4"/>
+ <Variable id="_3" name="var_int" type="_5" init="123" context="_1" location="f1:2" file="f1" line="2"/>
+ <Variable id="_4" name="var_str" type="_6" init="&quot;abc&quot;" context="_1" location="f1:3" file="f1" line="3"/>
+ <FundamentalType id="_5" name="int"/>
+ <PointerType id="_6" type="_8c"/>
+ <Namespace id="_2" name="::"/>
+ <FundamentalType id="_8" name="char"/>
+ <CvQualifiedType id="_8c" type="_8" const="1"/>
+ <File id="f1" name=".*/test/input/Variable-init.cxx"/>
+</GCC_XML>$