summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/vb-do.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/vb-do.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/vb-do.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/vb-do.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/vb-do.c
new file mode 100644
index 00000000..1cefd1df
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/vb-do.c
@@ -0,0 +1,22 @@
+
+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--);
+}
+