summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/bug_2322.cpp
blob: f9768c404e8eb9d34707c269fe885c555f7a8cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
void main()
{
    if (foo()) { bar(); }
    else if (baz({ rick, morty })) { anime(); }
    else if (a) while (true) { amime2(); }
    else if (b) do { amime3(); } while(false);
    else if (c) for(;;) { amime5(); }
    else if (d) while(true) {}
    else if (e) do {} while(false);
    else if (f) for(;;) {}
    else { amime6(); }
}