mescc: initialize missing struct fields to 0 #2

Merged
andrius merged 1 commits from tmp into wip-riscv 2023-08-21 19:50:23 +01:00

1 Commits

Author SHA1 Message Date
Ekaitz 3000b9b46e mescc: initialize missing struct fields to 0
There was a debug "22" leaking in compile.scm. It should be a 0.

* module/mescc/compile.scm (init-local): replace "22" with 0.
* lib/tests/scaffold/7v-struct-initialize-zeroes.c: New test.
* build-aux/check-mescc.sh (tcc_tests): Add it.
2023-08-21 17:02:58 +02:00