summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/cpp/31665-var_def_blks.cpp
blob: e328c1dbfbacf80a7bf42226eac8bfeaf25bb13e (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
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;