summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/c/00005-cmt-align.c
blob: 0a9684c58e70b5286e6e4cf0ad4a0e9b8616fd83 (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 */