From 80a31d6c8a114799dc5284086ffce2e9be34c50e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 6 May 2022 13:43:02 +0900 Subject: uncrustify-trinity: updated based on upstream version 0.75.0 Signed-off-by: Michele Calgaro --- .../tests/expected/cpp/33064-if_chain_braces.cpp | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/33064-if_chain_braces.cpp (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/33064-if_chain_braces.cpp') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/33064-if_chain_braces.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/33064-if_chain_braces.cpp new file mode 100644 index 00000000..c42ef73a --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/33064-if_chain_braces.cpp @@ -0,0 +1,53 @@ + +int foo() { + if ( a ) { + return 1; + } + else if ( b ) { + return 2; + } + + if ( a ) { + return 3; + } + else if ( b ) { + return 4; + } + else { + a = 5; + return 5; + } + + if ( a ) { + return 6; + } + else{ + return 7; + } + + if ( a ) + return 8; + + if ( b ) + return 9; + + if ( b ) { + { b = 5; } + return 10; + } + + if ( a ) { + return 11; + } + else { + return 12; + } + + if ( a ) { + return 13; + } else if ( b ) { + return 14; + } else { + return 15; + } +} -- cgit v1.2.1