summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/02531-pp_multiline_define.c
blob: 06a234ef33a60a166943d47f5db7060043f3e1a9 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#define gettext(Msgid) \
	QWERTY0 Msgid;
#define farright(Msgid)       \
                                        \
	QWERTY0 Msgid;
#ifdef TEST
#define gettext1(Msgid) \
	if (true) \
		 {\
			QWERTY1 Msgid; \
}\
while(true) \
{       \
	   g = g + 1; \
}
int i = 3;

#define x \
	(\
	 x\
	)\
		 {\
			  QWERTY2 Msgid; \
}
void f()
{
	int i=2;
}
#endif

#pragma multi \
	line \
	pragma

	#define setint(x) x = x + 1
#define K 2
		 #define gettext2(Msgid) \
							   if (true)              \
		 {                      \
				 QWERTY1 Msgid;       \
do \
{       \
g = g + 1; \
}                   \
while(true); \
}

#warning multi \
	line \
	warning

#ifdef TEST1
			   #ifdef TEST2
#ifdef TEST3
	 #ifdef TEST4
#define gettext1(Msgid) \
	if (true) \
		 {\
			QWERTY1 Msgid; \
									do \
									{       \
										if (false){ \
g = g + 1; \
							}\
									}                   \
while(true); \
}
#endif
   #endif
		 #endif
	  #endif