Add support for simple structs and var inits
This commit is contained in:
parent
14529c3fe1
commit
4d17ba3d65
10 changed files with 210 additions and 22 deletions
8
tests/generators/nim/test_struct_init.c
Normal file
8
tests/generators/nim/test_struct_init.c
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
int main() {
|
||||
struct account account = {
|
||||
123,
|
||||
"Pan",
|
||||
"Jan",
|
||||
33.433
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue