Next: Structures with only Flexible Array Members, Previous: Structures with No Members, Up: Extensions to the C Language Family [Contents][Index]
GCC permits a C99 flexible array member (FAM) to be in a union:
union with_fam { int a; int b[]; };
If every member of a union is a flexible array member, the size of such a union is zero.