summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/vb-do.c
blob: 1cefd1df14df784e5d9847448ac7e96b0d615cfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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--);
}