summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/c/beautifier-off.c
blob: 033179cb65f6986f2e6af3ccf5fb907cbe2e8656 (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
31
32


#define FOO(bar) create_a_really_long_identifier name(some_function(bar1 + bar2), bar3, bar4);

/* *INDENT-OFF* */
   int foo[] = {
      1,   3,   5,
      3,   5,   7,
      5,   7,   9,
   };
/* *INDENT-ON* */

#define multilinemacro do { (x+5); } while (0); \
printf("a multilinemacro"); \
printf("a multilinemacro2");

int main(int argc, char *argv[])
{
/* *INDENT-OFF* */

   int a, b;
a = 1; // stupid comment \
b = 2;

/* *INDENT-ON* */
return(a+b);
}

/* *INDENT-OFF* */
int a;
/* *INDENT-ON* */