nvim-treesitter/tests/indent/c/ternary.c

7 lines
85 B
C
Raw Normal View History

2021-04-17 22:47:02 +02:00
void foo(int x)
{
int y = (x > 10) ? 10
: (x < -10) ? -10
: x;
}