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