shithub: scc

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