shithub: scc

ref: e17b68513a16dc9ed6ef4140be3af2205919b81e
dir: /tests/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; 
}