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/c/02431-cmt_right_align.c | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/02431-cmt_right_align.c (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/02431-cmt_right_align.c') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/02431-cmt_right_align.c b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/02431-cmt_right_align.c new file mode 100644 index 00000000..315e5010 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/02431-cmt_right_align.c @@ -0,0 +1,47 @@ + +int foo1(int bar) +{ + if(bar) + { + if(b) + { + if(a) + { + if(r) + { + return(r); /* cool */ + } + else /* if (r) */ + { + return(bar); /* uncool */ + } /* if (r) */ + } /* if (a) */ + } /* if (b) */ + } /* if (bar) */ + + return(-1); +} /* foo */ + +int foo2(int bar) +{ + if(bar) + { + if(b) + { + if(a) + { + if(r) + { + return(r); + } + else + { + return(bar); + } /* if (r) */ + } /* if (a) */ + } /* if (b) */ + } /* if (bar) */ + + return(-1); +} /* foo */ + -- cgit v1.2.1