summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00067-vb-do.c
blob: 79c6dedfc340d3b73badcb44a7ec92d66b59ebc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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--);
}