diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/expect/gccxml.any.CXXLiteral.xml.txt | 6 | ||||
-rw-r--r-- | test/expect/gccxml.c++98.CXXLiteral.result.txt | 1 | ||||
-rw-r--r-- | test/expect/gccxml.c++98.CXXLiteral.stderr.txt | 1 | ||||
-rw-r--r-- | test/expect/gccxml.c++98.CXXLiteral.xml.txt | 1 | ||||
-rw-r--r-- | test/input/CXXLiteral.cxx | 3 |
6 files changed, 13 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a039396..1bf4613 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -315,6 +315,7 @@ castxml_test_gccxml(Constructor-annotate) castxml_test_gccxml(Converter) castxml_test_gccxml(Converter-annotate) castxml_test_gccxml(CvQualifiedType) +castxml_test_gccxml(CXXLiteral) castxml_test_gccxml(Destructor) castxml_test_gccxml(Destructor-annotate) castxml_test_gccxml(Enumeration) diff --git a/test/expect/gccxml.any.CXXLiteral.xml.txt b/test/expect/gccxml.any.CXXLiteral.xml.txt new file mode 100644 index 0000000..7349496 --- /dev/null +++ b/test/expect/gccxml.any.CXXLiteral.xml.txt @@ -0,0 +1,6 @@ +^<\?xml version="1.0"\?> +<GCC_XML[^>]*> + <Namespace id="_1" name="start" context="_2" members="_3"/> + <Unimplemented id="_3" kind="Function"/> + <Namespace id="_2" name="::"/> +</GCC_XML>$ diff --git a/test/expect/gccxml.c++98.CXXLiteral.result.txt b/test/expect/gccxml.c++98.CXXLiteral.result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/test/expect/gccxml.c++98.CXXLiteral.result.txt @@ -0,0 +1 @@ +1 diff --git a/test/expect/gccxml.c++98.CXXLiteral.stderr.txt b/test/expect/gccxml.c++98.CXXLiteral.stderr.txt new file mode 100644 index 0000000..14fd5d6 --- /dev/null +++ b/test/expect/gccxml.c++98.CXXLiteral.stderr.txt @@ -0,0 +1 @@ +error: expected a type diff --git a/test/expect/gccxml.c++98.CXXLiteral.xml.txt b/test/expect/gccxml.c++98.CXXLiteral.xml.txt new file mode 100644 index 0000000..f276847 --- /dev/null +++ b/test/expect/gccxml.c++98.CXXLiteral.xml.txt @@ -0,0 +1 @@ +\(missing\) diff --git a/test/input/CXXLiteral.cxx b/test/input/CXXLiteral.cxx new file mode 100644 index 0000000..2d35460 --- /dev/null +++ b/test/input/CXXLiteral.cxx @@ -0,0 +1,3 @@ +namespace start { + unsigned long long operator "" _u(unsigned long long); +} |