1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 12:20:04 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/c/loop.c
2022-04-14 12:01:23 +08:00

17 lines
190 B
C
Vendored

void foo(int x)
{
while (x > 0) {
x--;
continue;
}
for (int i = 0; i < 5; ++i) {
x++;
break;
}
do {
x++;
} while (x < 0);
}