shithub: scc

ref: f55a034c33fd1a5b6b35f78abeef23741cb6f65f
dir: /tests/cc/execute/0018-structptr.c/

View raw version
int
main()
{

	struct S { int x; int y; } s;
	struct S *p;

	p = &s;	
	s.x = 1;
	p->y = 2;
	return p->y + p->x - 3; 
}