summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00721-nl-semicolon.c
blob: 441091b5d0d57792e7c524d395b8658f0067c136 (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
30
31
32
33
34
35
void foo(void)
{
   a = 5;
   b = 3;
   j = 6;

   for (a = 0; a < j; a++)
   {
      b *= (a + b);
   }
}

struct somestruct
{
   int  a;
   char b;
   foo  c;
   bar  *d;
};

struct foo
{
   int  a;
   char *b
};

void f()
{
   for (;;)
   {
      nothing();
   }
   foobar();
}
;