aboutsummaryrefslogtreecommitdiffstats
path: root/lua/tests/indent/c/basic.c
blob: b20b742d53be3305c40dcee09992507bd35bdf66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
int foo(int x)
{
    if (x > 10) {
        return x;
    } else {
        while (x > 0) {
            x--;
        }
        return 0;
    }
}