spacevim/bundle/nvim-treesitter-0.9.1/tests/indent/c/loop.c

17 lines
190 B
C
Raw Normal View History

2024-08-21 14:17:26 +08:00
void foo(int x)
{
while (x > 0) {
x--;
continue;
}
for (int i = 0; i < 5; ++i) {
x++;
break;
}
do {
x++;
} while (x < 0);
}