mescc: Add 70-array-in-struct-init.c test with fix.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 20 Jul 2019 15:14:55 +0000 (17:14 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 20 Jul 2019 15:14:55 +0000 (17:14 +0200)
commit8e01a68357cd5916e1a3311ffcbc1378b22f3026
tree383cdff8ad49fcc4d6b87ceb45c73c92a5c76565
parent81849edb86863a689de583de357eea758f17e690
mescc: Add 70-array-in-struct-init.c test with fix.

* lib/tests/scaffold/70-array-in-struct-init.c: New file.
* lib/tests/scaffold/70-array-in-struct-init.stdout: New file.
* build-aux/check-mescc.sh (TESTS): Add test.
* module/mescc/compile.scm (array-init-element->data): Recurse for
elements instead of using init->data.  Support array fields.
build-aux/check-mescc.sh
lib/tests/scaffold/70-array-in-struct-init.c [new file with mode: 0644]
lib/tests/scaffold/70-array-in-struct-init.stdout [new file with mode: 0644]
module/mescc/compile.scm