shithub: scc

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