summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/c/indent-off-after-assign.c
blob: d01f58c05ac78e61cc3a27cba89cd05a86880311 (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
void foo(void)
{
   int a;
   int b =
   veryLongMethodCall(
     arg1,
     longMethodCall(
       arg2,
       methodCall(
         arg3, arg4
       )
     )
   );
   junk(a =
   3);
}

void f()
{
  int x = size_t(1.0) +
    2;
  int y = (size_t(1.0) +
    5);

  int z =
  size_t(1.0)
  + 5
  + size_t(2.0);
}