See testcase, it's a GNU extension, but widely accepted (the linux kernel uses it). This got broken with 72b520e709d.
Showing the changes to tests/tests2/80_flexarray.c (1 of 2 files). Show all
Unified · Split
| @@ -15,6 +15,7 @@ int f1int (void) { · 14 unmodified lines | |||
| 15 | struct wint q = {"bugs"}; | 15 | struct wint q = {"bugs"}; |
| 16 | return !s[0]; | 16 | return !s[0]; |
| 17 | } | 17 | } |
| 18 | int empty[] = {}; // GNU extension | ||
| 18 | int main (void) { | 19 | int main (void) { |
| 19 | char s[9]="nonono"; | 20 | char s[9]="nonono"; |
| 20 | static struct wchar q = {"bugs", {'c'}}; | 21 | static struct wchar q = {"bugs", {'c'}}; |