aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/c/expr.c
blob: cafb111208492c59660a5b88aa90489a46615e1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
void foo(int x, int y)
{
    if ((x*x - y*y > 0) ||
        (x == 1 || y == 1) &&
        (x != 2 && y != 2)
    ) {
        return;
    }

    int z = (x + y) *
        (x - y);
}