flexarray: Accept empty ones
commitebb4e712362b6aea5cf7d4ec1ddc252a000c27a0
authorMichael Matz <matz@suse.de>
Fri, 1 Jul 2022 13:37:23 +0000 (1 15:37 +0200)
committerMichael Matz <matz@suse.de>
Fri, 1 Jul 2022 13:37:23 +0000 (1 15:37 +0200)
tree3135dcc003fabf2bfc306b2da425cd525fa2337d
parent9712541156d16d04c012a70a06b1038346ad947e
flexarray: Accept empty ones

See testcase, it's a GNU extension, but widely accepted (the
linux kernel uses it).  This got broken with 72b520e709d.
tccgen.c
tests/tests2/80_flexarray.c