summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/align_trailing_do_cmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/align_trailing_do_cmt.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/align_trailing_do_cmt.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/align_trailing_do_cmt.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/align_trailing_do_cmt.c
new file mode 100644
index 00000000..372da441
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/align_trailing_do_cmt.c
@@ -0,0 +1,14 @@
+int foo(void) {
+ int r;
+ do // this comment should be aligned with the one below
+ {
+ r = bar();
+ }
+ while (r);
+
+ do // this comment should be aligned with the one above
+ {
+ r = baz();
+ }
+ while (r);
+}