shithub: scc

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