summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/expect/gccxml.any.RValueReferenceType.xml.txt6
-rw-r--r--test/input/RValueReferenceType.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/expect/gccxml.any.RValueReferenceType.xml.txt b/test/expect/gccxml.any.RValueReferenceType.xml.txt
index 6899e98..763161e 100644
--- a/test/expect/gccxml.any.RValueReferenceType.xml.txt
+++ b/test/expect/gccxml.any.RValueReferenceType.xml.txt
@@ -1,7 +1,5 @@
^<\?xml version="1.0"\?>
<GCC_XML[^>]*>
- <Typedef id="_1" name="start" type="_2" context="_3" location="f1:1" file="f1" line="1"/>
- <Unimplemented id="_2" type_class="RValueReference"/>
- <Namespace id="_3" name="::"/>
- <File id="f1" name=".*/test/input/RValueReferenceType.cxx"/>
+ <Namespace id="_1" name="start" context="_2"/>
+ <Namespace id="_2" name="::"/>
</GCC_XML>$
diff --git a/test/input/RValueReferenceType.cxx b/test/input/RValueReferenceType.cxx
index 44f0232..35f2861 100644
--- a/test/input/RValueReferenceType.cxx
+++ b/test/input/RValueReferenceType.cxx
@@ -1 +1,3 @@
-typedef int&& start;
+namespace start {
+ typedef int&& type;
+}