summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/c/endif.c
blob: fd621299e1a16430c06cea377f5de32e61a8cb3e (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
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)
}