shithub: scc

ref: 66b39b58b8cda3e3c3a86c23401cad0e670a3432
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);
}