mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
add compound_lit.c test
This commit is contained in:
parent
1a4b5da758
commit
1dea3928a2
2 changed files with 11 additions and 0 deletions
10
tests/indent/c/compound_lit.c
Normal file
10
tests/indent/c/compound_lit.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
struct foo {
|
||||
int x, y;
|
||||
};
|
||||
|
||||
struct foo bar(int x, int y) {
|
||||
return (struct foo) {
|
||||
.x = x,
|
||||
.y = y
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue