add compound_lit.c test

This commit is contained in:
leo60228 2021-07-31 13:17:14 -04:00 committed by Thomas Vigouroux
parent 1a4b5da758
commit 1dea3928a2
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,10 @@
struct foo {
int x, y;
};
struct foo bar(int x, int y) {
return (struct foo) {
.x = x,
.y = y
};
}