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/c/cmt-align.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/cmt-align.c (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/cmt-align.c') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/cmt-align.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/cmt-align.c new file mode 100644 index 00000000..658bac4d --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/cmt-align.c @@ -0,0 +1,20 @@ +#ifndef HAVE_FOO +void foo(void) +{ + if (bar) + { + call_some_function(); /* call the function */ + return(foo); /* comment */ +} /* if (bar) */ +} +#endif /* HAVE_FOO */ +#ifndef HAVE_BAR /* bar isn't available on all HW */ +void bar(void) +{ + if (foo) + { + call_some_function(); /* call the function */ + return(foo); /* comment */ + } /* if (foo) */ +} +#endif /* HAVE_BAR */ -- cgit v1.2.1