shithub: scc

ref: 268b5a4e15ec491a5881664a9e26ba714254da1d
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();
}