shithub: scc

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