summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/pawn/60020-switch-vsemi.sma
blob: a0c720f77ca71e9f716c3c37944344577a572a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public plugin_init()
{
    new i=5;

    switch(i) {
    case 3: return false;
    case 5:
    {
        i = 6;
        return true;
    }
    default: {
        return true;
    }
    }
}