Next: Flexible Array Members alone in Structures, Previous: Empty Structures, Up: Aggregate Types [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.