shithub: scc

ref: f2fe6bc81e714ea3e422a0513ac171c9b2101646
dir: /tests/cc/execute/0210-flexible.c/

View raw version
struct str {
	int a;
	char v[];
};

int
main(void)
{
	struct str *p;
	int ary[20];

	p = (struct str *) ary;
	p->a = 2;
	p->v[0] = 1;

	return !(p->a + p->v[0] == 3);
}