shithub: scc

ref: b75c7d2fa8b3f9a8ba96e5a3035efa68b8d8cf85
dir: /tests/cc/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();
}