summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/31666-var_def_blks.cpp
blob: 87f45a375f0fbb19ab1e7175208eda598cb28e35 (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
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;