shithub: scc

ref: 74d520e8c85d8725aff11b423f0ba00fd3dd727d
dir: /tests/execute/0161-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;
}