diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30218-trailing_return.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30218-trailing_return.cpp | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30218-trailing_return.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30218-trailing_return.cpp deleted file mode 100644 index be70a23b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30218-trailing_return.cpp +++ /dev/null @@ -1,50 +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; -} |