nvim-treesitter/lua/tests/indent/c/loop.c

17 lines
190 B
C
Raw Normal View History

2021-04-17 22:47:02 +02:00
void foo(int x)
{
while (x > 0) {
x--;
continue;
}
for (int i = 0; i < 5; ++i) {
x++;
break;
}
do {
x++;
} while (x < 0);
}