11 signed char flexible
[];
14 struct WithFlexUChar
{
16 unsigned char flexible
[];
19 #define CONTENTS "contents"
22 struct WithFlexChar
*c
=
23 (struct WithFlexChar
*)malloc(sizeof(int) + sizeof(CONTENTS
));
25 strcpy(c
->flexible
, CONTENTS
);
27 struct WithFlexSChar
*sc
=
28 (struct WithFlexSChar
*)malloc(sizeof(int) + sizeof(CONTENTS
));
30 strcpy((char *)sc
->flexible
, CONTENTS
);
32 struct WithFlexUChar
*uc
=
33 (struct WithFlexUChar
*)malloc(sizeof(int) + sizeof(CONTENTS
));
35 strcpy((char *)uc
->flexible
, CONTENTS
);
36 return 0; // break here