shithub: scc

ref: 8e4d55811b9f52d2f8439a2507321f792c33b69f
dir: /tests/execute/0164-struct.c/

View raw version
struct S { int a; int b; };
struct S *s = &(struct S) { 1, 2 };

int
main()
{
	if(s->a != 1)
		return 1;
	if(s->b != 2)
		return 2;
	return 0;
}