summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/trailing_return.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-05-06 13:43:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-05-06 13:49:57 +0900
commit80a31d6c8a114799dc5284086ffce2e9be34c50e (patch)
tree1719891657e76c04f063f5ff7b5fdf63d9e562c3 /debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/trailing_return.cpp
parente6ba08c3b21cdb14ee3a97b5d584759a4597b54b (diff)
downloadextra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.tar.gz
extra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.zip
uncrustify-trinity: updated based on upstream version 0.75.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/trailing_return.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/trailing_return.cpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/trailing_return.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/trailing_return.cpp
deleted file mode 100644
index de061955..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/trailing_return.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-auto f0(int a, int b) -> int;
-
-struct Foo
-{
- auto f01() -> bool;
- auto f02() noexcept -> bool;
- auto f03() noexcept(true) -> bool;
- auto f04() noexcept(false) -> bool;
- auto f05() noexcept -> bool = delete;
- auto f06() noexcept(true) -> bool = delete;
- auto f07() noexcept(false) -> bool = delete;
-
- auto f11() const -> bool;
- auto f12() const noexcept -> bool;
- auto f13() const noexcept(true) -> bool;
- auto f14() const noexcept(false) -> bool;
- auto f15() const noexcept -> bool = delete;
- auto f16() const noexcept(true) -> bool = delete;
- auto f17() const noexcept(false) -> bool = delete;
-
- auto f21() throw() -> bool;
- auto f22() throw() -> bool = delete;
- auto f23() const throw() -> bool;
- auto f24() const throw() -> bool = delete;
-};
-
-struct Bar
-{
- Bar() : m_func([](void*) -> result_t{ return magic; }) {}
-};
-
-void foo()
-{
- auto l = [](int n) -> x_t{ return n + 5; };
- x([](int n) -> x_t{ return n + 5; });
-}
-
-static auto f25() -> bool {
- return true;
-}
-
-static auto f26() const noexcept(true) -> bool {
- return true;
-}