summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/cpp/31668-var_def_blks.cpp
blob: d660b2c248f6b4cac6b061df849841caa0a96a74 (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
unsigned a;
char b;




int bar(void);


unsigned c;
char d;




int foo(void) {
	char buf[1000] = {0};
	size_t len;
	float amount;
	double remainder;

	bar();


	uint64_t quux;
	uint64_t quack;




	for (int i = 0; i < 1000; i++) {
		uint64_t checksum;
		double remainder;




		buf[i] += len;


		uint32_t xyzzy;
		uint32_t quark;
	}


	float amount;
	double remainder;




	baz();


	uint32_t llama;
	uint32_t treehouse;
}


char * w;
uint8_t x;




int baz(void);


long y;
int z;