summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/cmt-align.c
blob: 658bac4dbe224b0c139461ad16dc093a1fdf5f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef HAVE_FOO 
void foo(void)
{
   if (bar)
   {
   call_some_function(); /* call the function */
   return(foo); /* comment */
}          /* if (bar) */
}
#endif       /* HAVE_FOO */
#ifndef HAVE_BAR /* bar isn't available on all HW */
void bar(void)
{
   if (foo)
   {
    call_some_function(); /* call the function */
    return(foo); /* comment */
  } /* if (foo) */
}
#endif /* HAVE_BAR */