shithub: scc

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