summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/cpp/30318-Issue_2949.cpp
blob: d37d7ac3b88303459297e0636b6213ad48cd24d9 (plain)
1
2
3
4
5
6
7
int index = -1;

int main(void)
{
    const int x = 2;
    int y = index < -x ? 1 : index > x ? 2 : 0;
}