summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00170-beautifier-off.c
blob: 351d76ff3c09e0d33cb253a9957b0f5fb508aaf5 (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* */