diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2021-05-02 17:14:38 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2021-05-02 17:14:38 +0200 |
commit | 38b0babd5a642cea8912524debc63edc67fda08b (patch) | |
tree | 2d9c96c67de83b769c9946036b036e9239f8a881 /test/spass/stringsx.h | |
parent | 2c47585b90858a6782b6e9a88efdb43368708429 (diff) | |
download | compcert-38b0babd5a642cea8912524debc63edc67fda08b.tar.gz compcert-38b0babd5a642cea8912524debc63edc67fda08b.zip |
Fix spurious error on initialization of struct with flexible array member
The following is correct but was causing a "wrong type for array initializer"
fatal error.
```
struct s { int n; int d[]; };
void f(void) { struct s x = {0}; }
```
Co-authored-by: Michael Schmidt <github@mschmidt.me>
Diffstat (limited to 'test/spass/stringsx.h')
0 files changed, 0 insertions, 0 deletions