Brian Ellis wrote:
> struct dynamic { int size; int array[]; };
> int main() { struct dynamic * pBadness = ((struct dynamic *) malloc(
> sizeof(int) * 3) );
> dont_do_this( *pBadness );
Are you even allowed to dereference a pointer to a struct containing a VLA?
Should it be treated like an incomplete type in this respect?
cheers,
DaveK
