[geany/geany] 4476ed: c++: Add a small test combining various C++14 things

Colomban Wendling git-noreply at xxxxx
Wed Jul 1 10:55:52 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Wed, 01 Jul 2015 10:55:52 UTC
Commit:      4476ed9c4b238072f52cefd7baf93f725048cde1
             https://github.com/geany/geany/commit/4476ed9c4b238072f52cefd7baf93f725048cde1

Log Message:
-----------
c++: Add a small test combining various C++14 things


Modified Paths:
--------------
    tests/ctags/Makefile.am
    tests/ctags/cxx14-combined.cpp
    tests/ctags/cxx14-combined.cpp.tags

Modified: tests/ctags/Makefile.am
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -135,6 +135,7 @@ test_sources = \
 	cxx11-final.cpp					\
 	cxx11-noexcept.cpp				\
 	cxx11-override.cpp				\
+	cxx14-combined.cpp				\
 	db-trig.sql						\
 	debian_432872.f90				\
 	directives.c					\


Modified: tests/ctags/cxx14-combined.cpp
8 lines changed, 8 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,8 @@
+struct Base {
+  virtual void baz() const throw() = 0;
+};
+
+struct Foo final : public Base {
+  static constexpr auto bar() noexcept { return 1; }
+  virtual void baz() const throw() final override;
+};


Modified: tests/ctags/cxx14-combined.cpp.tags
6 lines changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,6 @@
+# format=tagmanager
+Base�2048�0
+Foo�2048�0
+bar�16�()�Foo�0�constexpr
+baz�1024�()�Base�0�virtual void
+baz�1024�()�Foo�0�virtual void



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list