summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/d/vbraces002.d
blob: 5e45e999e4add92aac75d2f006299a987463f6a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
int super_fun(bool a, bool b, bool c, bool d)
{
    int i = 6;
    static if (true)
        while (true)
            if(b)
                return 1;
    else if (c)
        while (true)
            if(d)
                return 2;    
    else
        while (true)
            if(a)
                return 3;
    while (d)
        return 4;
    return 1;
}