shithub: scc

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