From b67b7f2b784c7105e88a5e639d9d84736ae2cbc1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 1 Dec 2023 12:38:43 +0900 Subject: uncrustify-trinity: updated based on upstream version 0.78.1 Signed-off-by: Michele Calgaro --- .../tests/input/cpp/issue_1782.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/issue_1782.cpp (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/issue_1782.cpp') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/issue_1782.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/issue_1782.cpp new file mode 100644 index 00000000..c12b83d0 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/issue_1782.cpp @@ -0,0 +1,20 @@ +using a1 = decltype(bar()); +using b1 = decltype(bar()); +using c1 = decltype(foo::bar()); +using d1 = decltype(*(bar())); +using e1 = decltype(*(foo::bar())); + +using a2 = decltype( bar ( ) ); +using b2 = decltype( bar < int > ( ) ); +using c2 = decltype( foo::bar < int > ( ) ); +using d2 = decltype( *( bar < int > ( ) ) ); +using e2 = decltype( *( foo::bar < int > ( ) ) ); + +using a3 = decltype( bar ( 0 ) ); +using b3 = decltype( bar < int > ( 0 ) ); +using c3 = decltype( foo::bar < int > ( 0 ) ); +using d3 = decltype( *( bar < int > ( 0 ) ) ); +using e3 = decltype( *( foo::bar < int > ( 0 ) ) ); + +using x1 = decltype((0)); +using x2 = decltype( ( 0 ) ); -- cgit v1.2.1