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