summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Namespace-anonymous.xml.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-15 18:44:29 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-15 18:45:32 (GMT)
commit29edb122e53ee80201a7e535f6e26f161de86a47 (patch)
treeed52862f8c48dcd84f0c1f3bec4ffd3de3c72fe7 /test/expect/gccxml.any.Namespace-anonymous.xml.txt
parent40aed5c681c2355614d00b77f9eb372a77fa6a30 (diff)
downloadCastXML-29edb122e53ee80201a7e535f6e26f161de86a47.zip
CastXML-29edb122e53ee80201a7e535f6e26f161de86a47.tar.gz
CastXML-29edb122e53ee80201a7e535f6e26f161de86a47.tar.bz2
Output: Do not generate name="" attribute on anonymous namespaces
Be consistent with gccxml which did not generate the attribute.
Diffstat (limited to 'test/expect/gccxml.any.Namespace-anonymous.xml.txt')
-rw-r--r--test/expect/gccxml.any.Namespace-anonymous.xml.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Namespace-anonymous.xml.txt b/test/expect/gccxml.any.Namespace-anonymous.xml.txt
new file mode 100644
index 0000000..12c2c4d
--- /dev/null
+++ b/test/expect/gccxml.any.Namespace-anonymous.xml.txt
@@ -0,0 +1,8 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Namespace id="_1" name="start" context="_2" members="_3"/>
+ <Namespace id="_3" context="_1" members="_4"/>
+ <Struct id="_4" name="A" context="_3" location="f1:3" file="f1" line="3" incomplete="1"/>
+ <Namespace id="_2" name="::"/>
+ <File id="f1" name=".*/test/input/Namespace-anonymous.cxx"/>
+</GCC_XML>$