summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/c/00067-vb-do.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/c/00067-vb-do.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/c/00067-vb-do.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/c/00067-vb-do.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/c/00067-vb-do.c
new file mode 100644
index 00000000..79c6dedf
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/c/00067-vb-do.c
@@ -0,0 +1,29 @@
+
+struct beef a =
+{
+ 1, 2, 3
+};
+
+void get_name(void)
+{
+ int _ = 3;
+
+ do
+ {
+ a--;
+ } while (a);
+
+ while (a) //something
+ {
+ a--;
+ }
+
+ do
+ {
+ while (a) //something
+ {
+ a--;
+ }
+ } while (b--);
+}
+