From c0a6f1b84c84749908961579b84513fd9f9d9eac Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 18 Nov 2023 17:53:35 +0900 Subject: uncrustify-trinity: updated based on upstream version 0.78.0 Signed-off-by: Michele Calgaro --- .../tests/input/cpp/Issue_3097.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3097.cpp (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3097.cpp') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3097.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3097.cpp new file mode 100644 index 00000000..3959e85a --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/Issue_3097.cpp @@ -0,0 +1,17 @@ +void foo() +{ + for( unsigned p = 0; p < np; + ++p ) + { + double* o = bar[p]; + } + int x = 42; +} + +void bar() +{ + // hello + int x = 42; + if( x ) foo; + type::value_t y = 0; +} -- cgit v1.2.1