shithub: scc

ref: 5689ef4e729aed4438f8c5c6a6626e3ea1df0073
dir: /tests/execute/0090-fptr.c/

View raw version

struct S
{
	int	(*fptr)();
};

int
foo()
{
	return 0;
}

int
main()
{
	struct S v;
	
	v.fptr = foo;
	return v.fptr();
}