summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00470-align_trailing_do_cmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00470-align_trailing_do_cmt.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00470-align_trailing_do_cmt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00470-align_trailing_do_cmt.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00470-align_trailing_do_cmt.c
new file mode 100644
index 00000000..7c21b3d9
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00470-align_trailing_do_cmt.c
@@ -0,0 +1,10 @@
+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);
+}