shithub: scc

ref: 3a12c295a9d0c2e5d61428bde365bb3fb6cad1f2
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();
}