summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/02415-endif.c
blob: c8b99a6a6a8cef63fea62d195b65dd1da4367cf3 (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
int do_this
(
   int x,
   int y
)
{

   x++;
   #ifdef ABC
      #ifdef DEF
         x += y;
      #endif
   #endif
   a++;
   #ifdef ABC
      b++;
      #ifdef DEF
         c++;
         #ifdef HIJ
            d++;
         #endif
         e++;
      #endif
      f++;
   #endif
   g++;

   return (x)
}