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