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